MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
Very very basic bot to show you the proof of concept about Discord bots.
This bot is very basic and will reply to any user writing the "!hello" command.
Why are Discord bots useful? Discord bots can do a lot for you, such as gathering advanced API data from ex Blizzard websites displaying character information in World of Warcraft. Or down to a simple feature that welcomes a new user to the Discord server. Or keeping track of when a user edits or deletes a message.
1. Create a !math command with the bot returning the sum of 2 + 2. Use the reply() function.
2. Return true or false depending on if the user is a bot or not. (hint: client.user.bot).
3. Share your project with other students.
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.