switchblade icon indicating copy to clipboard operation
switchblade copied to clipboard

Running a command on a channel that Switchblade can see but can't answer throws an error

Open pedrofracassi opened this issue 6 years ago • 5 comments

Bug description Running a command on a channel that Switchblade can see but can't answer throws an error

How to reproduce

  1. Remove bladey's permissions to send messages on a channel
  2. Run any command

Expected behavior No errors should be thrown

Screenshots image

pedrofracassi avatar Jan 09 '19 16:01 pedrofracassi

We could do something like all commands requiring SEND_MESSAGES permissions, idk

pedrofracassi avatar Jan 09 '19 16:01 pedrofracassi

We could do something like all commands requiring SEND_MESSAGES permissions, idk

just add on if (command) on mainlistener

Doges avatar Jan 09 '19 16:01 Doges

@davipatury ^ #562

Doges avatar Jan 09 '19 16:01 Doges

isn't "botPermissions" a thing? then, make SEND_MESSAGES and EMBED_LINKS as default, and if any fails, send the person that exec'd the command that the bot can't type in that channel

jaxxibae avatar Feb 18 '19 14:02 jaxxibae

misclick

jaxxibae avatar Feb 18 '19 14:02 jaxxibae