A simple python discord bot, created for fun and to start learning about the discord.py library
v0.0.1 - 2024-06-01: Original version without commands
v0.1.1 - 2024-06-01: Addition of ping command
The following packages are required:
- discord.py==2.3.2
- python-dotenv==1.0.1
As this bot currently is not being hosted, you will need to clone the repository and host it yourself via your prefered platform:
git clone https://github.com/ichbinjade/loki-discord-bot
Copy the .env.example
file to .env
and populate the relevant variables:
DISCORD_TOKEN=
: This will be your bot's token from the developer portalCOMMAND_PREFIX=""
: While slash commands are popular, I still prefer using "!" prefixes
!ping
- returns 'Pong! 42ms'; where '42ms' is the relevant latency
@Indently - YouTuber that has great tutorials
GeeksForGeeks - A great site and community with lots of programming resources and tutorials
Real Python - Another great site with lots of resources and tutorials
None