This is my multi-purpose Discord bot! This is the second Discord bot I created (new and improved). It utilizes several APIs to display ๐ฎ game statistics and information. It has basic response ๐ฃ commands, and it can join your voice channel to play ๐ต music!
Assuming you have created a new Discord-bot (Application) at https://discord.com/developers/applications, you'll need to do the following.
# Download the repository
git clone <https-or-ssh>
# Create env file and add the following keys:
BOT_KEY="bot-application-key"
STEAM_API_KEY="steam-api-key" # for Steam feature
GIPHY_API_KEY="giphy-api-key" # for random gif feature (from api.giphy.com)
# Download the required libraries
# > In the root directory of the project, run the install.ps1 file
.\install.ps1
# Text Commands:
- !help - displays list of commands
- !steamgame <name> - displays details of the Steam game
- !addwishlist <name> | !removewishlist <name> | !wishlist - save Steam games to a communal server wishlist
- !cs2 <name> - displays cs2 game statistics for users
- !fn-shop - sends the current items in the Fortnite shop
- !play <song> | !skip - for playing/queuing and skipping music
- !leave - make the bot leave the voice-channel
- !gif - send a random gif
# Slash Commands:
- /poll <query> - to create polls that users can react to
- /event <date> <time> <description> - to create Server Events
# To run locally:
py main.py
# Ensure all necessary libraries are installed. See list below:
pip install discord.py
pip install discord-ext-bot
pip install requests
pip install python-decouple
pip install yt_dlp
pip install pynacl
pip install qrcode
pip install pillow