This Discord bot is designed to provide both entertainment and utility functionalities to the users of a Discord server. The bot is designed in Python using the Discord.py library and is highly modular with a distinct set of services handling its diverse functionalities.
-
Play: The bot can play songs in a voice channel. Trigger this functionality with either
play [song_name/link]
orp [song_name/link]
. -
Skip: If you're not in the mood for the current song, simply skip it with
skip
ors
. -
Loop: Want to keep listening to the same song? Use
loop
to loop the current song. -
Stop: If you want the bot to stop playing music and leave the channel, use
stop
. -
Clear: Clear the current queue with the
clear
command. -
Queue: Check the current songs in the queue with
queue
orq
.
-
Purge: Need to clean up the chat? Use the
purge
command to clean up the bot's messages and commands requested. -
Restart: You can restart the bot using the
restart
command. -
Help: If you need a list of all the available commands and their functionalities, just type
help
. -
Btc: Check the current Bitcoin price with
btc
. -
Emoji: Enhance your messages with the
emoji
command. -
Chess: Challenge your friends to a game of chess with the
chess
command.
- To set up the bot, you need a
config.json
file with your Discord token in the following format:
{
"secrets": {
"discordToken": "YOUR_DISCORD_TOKEN"
...
}
}
- Run the main bot script to initialize and bring the bot online.