hey, my bot runs and displays the arrival message (in twitch chat)
but it doesn't execute any commands I've tried printing ctx.author.name.lower() before the check to see if the message was from the bot and it only prints out a name when the bot types the arrival command.
I had this issue too! My problem was that I was replacing the line BOT_PREFIX=! in the file .env with an incorrect value. This line tells the bot to look for commands that start with the value passed, so if you are trying to execute a command that starts with an exclamation mark (e.g. !discord), don't change this line!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
hey, my bot runs and displays the arrival message (in twitch chat)
but it doesn't execute any commands I've tried printing ctx.author.name.lower() before the check to see if the message was from the bot and it only prints out a name when the bot types the arrival command.
I had this issue too! My problem was that I was replacing the line
BOT_PREFIX=!
in the file.env
with an incorrect value. This line tells the bot to look for commands that start with the value passed, so if you are trying to execute a command that starts with an exclamation mark (e.g. !discord), don't change this line!