This is my Discord Bot submission for Snowcodes 2022.
jej-mas is a general purpose bot, features a variety of fun and interactive commands to keep you and your friends hopefully entertained while maintaining the Xmas holiday spirit!
- TheCatAPI
- HTTPCat
- The Bored API
Jikan API (4.0.0)- MyAnimeList API (beta ver)
- Inspiro Bot API
- AdviceSlip API
- Giphy API
Install Python on https://www.python.org/.
Get all the needed modules from requirements.txt
# Linux/macOS/Windows
$ pip install -r requirements.txt
If you're having trouble finding it, or don't know how to. Follow this tutorial.
Can be obtained from https://developers.giphy.com/
Can be obtained from https://myanimelist.net/apiconfig
$ git clone https://github.com/jej-v/snowcodes2022
$ cd snowcodes2022
Add your Bot Token and Giphy Api Token to the config.py
file.
token = 'bot_token_here'
mal_api_key = 'mal_client_id_here'
giphy_api_key = 'giphy_api_token_here'
Run the bot
$ python3 main.py
ImportError: cannot import name 'commands' from 'discord.ext' (unknown location)
AttributeError: __aexit__
/ AttributeError: __aenter__
Uninstall discord.py
$ python3 -m pip uninstall discord.py discord -y
Uninstall py-cord
$ python3 -m pip uninstall py-cord
Install and Update py-cord
$ python3 pip install -U py-cord
Note: this repository currently uses py-cord version 2.3.2
In case you have pycord
installed by chance:
$ python3 -m pip uninstall pycord
Got 2nd place brrrrrrrr
There are quite a few Honkai Impact 3rd references, such as the /yatta
command and Honkai stickers from Hoyoblab set as thumbnails in some of the commands. Even the profile picture itself! Personally, I think they were a nice addition, lol.