Making a discord bot using discord.py Making a discord bot is no trivial task and requires basic python knowledge and requires you to know inner and outer scopes, variable, functions, asyncio, and plenty more.
if you know all of these python concepts, i will now start the tutorial!
For starters, you first need to install discord.py
you could install it by running the following console command: python3 -m pip install -U discord.py
which would install it.
once you have it installed, create a new file named main.py
, DO NOT NAME YOUR FILE discord.py
OR ELSE THE DISCORD MODULE WILL NOT WORK.