FireDiscordBot / bot

A Discord bot for all your needs. With memes, utilities, moderation & more, Fire is the only bot you'll need.
https://getfire.bot/
GNU Affero General Public License v3.0
400 stars 73 forks source link

[BUG] slashcommands (at least /user) don't work right in private threads #102

Closed Lisenaaaa closed 3 years ago

Lisenaaaa commented 3 years ago

Describe the bug

slashcommands in private threads (and maybe public ones? haven't tested) don't work if the bot hasn't been invited

To Reproduce

make a private thread, run a slashcommand before pinging the bot

Expected behavior

i was expecting the slashcommand to run and the bot to join the thread

Screenshots

image

Discord & device versions

ubuntu 20.04.2 lts, discord is whatever it uses for browsers

Additional context

image

Lisenaaaa commented 3 years ago

oh also it worked fine after pinging the bot

splatterxl commented 3 years ago

possibly the bot wasn't able to access the channel to send the follow-up. by pinging it you added it to the thread, which meant it now has access

GamingGeek commented 3 years ago

This is due to some pre-command checks failing since it cannot access the thread due to not being added / not having Manage Threads

You should now get an error mentioning this now since 947e7ad