Activities
Last updated
Last updated
You have now learned how to create some basic commands for your Discord bot and how to use if/else statements. Now we can combine all this knowledge to create some commands for your Discord bot.
Refer back to the idea you came up with last week and create some commands that revolve around that.
Using what you have learned, create some Discord bot commands. Be as creative as you can. And don't worry if they're not exactly what you want. We will come back to these commands soon and you will be able to modify them to function even better.
This activity might be harder, so I'm keeping it as a bonus.
Use Google, Bing, or whatever search engine you like to use to add things to your Discord bot.
For example, if I wanted to know how to mention a user on Discord like this:
I could search up:
How to mention a user using Discord.py
From there I found out that I can use message.author.mention
instead of message.author.name
.
Did you at least finish activity 1? Do you have extra time during this second session? If you answered yes to both, please check in with your mentor before continuing to day 3.