#make bot react to specific user
10 messages · Page 1 of 1 (latest)
Don't put the number in quotes.
...oop
I do need to modify this to take discord emojis though
hmm, if I can remember how
Member.id is an int so comparing it to a str will be False, so remove the quotes like zech said.
also use the .ext.commands extension instead of using the on_message listener
you can see a fairly basic example here https://github.com/Rapptz/discord.py/blob/master/examples/basic_bot.py
You can't use commands to respond to a single user's every message. A command requires a message to start with a set prefix.
yeah, i meant to add to use it when you start adding 'commands' inside of on_message, mb
setup_hook() is a lot better to use than on_ready() when checking if ur bot is up btw