sfirfi / Bug-Bomber-600

DEPRECATED Discord Bot.
6 stars 5 forks source link

Poking Command Gives an Error #12

Closed Kitty-Therapist closed 6 years ago

Kitty-Therapist commented 6 years ago

Also ended up finding this error after I pushed a new set of codes.

So, apparently I found that the bot had been spitting out this error: https://cdn.discordapp.com/attachments/391356859971534858/424756611274506245/rip_error.png

Which has led me to believe that the bot is trying to find the said role in a completely different server than the role is assigned to. So I went ahead and fixed it by inserting the so that we could know to put in the roleID (to make it mention able).

The error only occurs if you mention the bot and say the word poke. But the bot appears to be doing nothing when you just use the emote. Can test further if needed.

I do wonder what will happen if we actually put in the correct role, or if it'll be fixed.

Will keep this issue up so Starshine and AEnterprise will be aware of the issue. I suspect that it may be a simple fix.

Kitty-Therapist commented 6 years ago

@GoldenPheonix fixed the error, the bot can now be pinged with the word poke. He has changed a line of the coding, where you can now just simply put in the Muted Role so that the bot can mute you.

Make sure that you have Manage_Role permission for the bot.