https://github.com/nakidai/petthecord
Pet people in the Discord
https://github.com/nakidai/petthecord
api discord discord-bot petpet python selfhost web
Last synced: about 2 months ago
JSON representation
Pet people in the Discord
- Host: GitHub
- URL: https://github.com/nakidai/petthecord
- Owner: nakidai
- License: bsd-2-clause
- Created: 2024-09-04T16:36:43.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-11-18T21:53:53.000Z (6 months ago)
- Last Synced: 2024-11-18T22:54:32.007Z (6 months ago)
- Topics: api, discord, discord-bot, petpet, python, selfhost, web
- Language: Python
- Homepage: https://ptc.pwn3t.ru
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FOR PEOPLE WHO JUST WANNA USE IT
Click [there](https://discord.com/oauth2/authorize?client_id=1280933495845290005) and use the `/petpet` commandPetTheCord
--
This is a Web API for petting any user you know which has avatar## Setup
Create some discord application (it is needed for getting discord user's avatar)
and put its token to `PETTHECORD_TOKEN` env var or write it to file and create
`PETTHECORD_TOKEN_FILE` env var with the path of the file with the token. Other
help is desribed in the `--help`.## Usage
`https://example.com/.gif` will return you gif that specified user.To get UserID you should enable developer mode in your client and "Copy User ID"
option will appear when you do RMB on user.### Instances
Also there's a working instance of this thing which is located at
`ptc.pwn3t.ru`# Other petpet APIs
This project was rewritten several times, so this is a list of simillar APIs:- [messengernew/petpet-api](https://github.com/messengernew/petpet-api)
* Written in **Rust**
* Instance: [`https://petpet.quadratik.pro/`](https://petpet.quadratik.pro/)- [wavy-cat/petpet-go](https://github.com/wavy-cat/petpet-go)
* Written in **Go**
* Instance: [`https://pet.wavycat.ru/`](https://pet.wavycat.ru/)- [nakidai/cptc](https://github.com/nakidai/cptc)
* Written in **C**
* There're no any instances of it :<