SFUAnime / Ren

As a mascot for the SFU Anime Club, Ren is our in-house Discord bot. Includes first/third party modules that are in use.
GNU General Public License v3.0
19 stars 21 forks source link

[YOURLS] Add `bot_has_permissions` to `[p]yourls settings sig` #643

Closed Injabie3 closed 1 year ago

Injabie3 commented 1 year ago

Description of the changes

The [p]yourls settings sig command will try to delete the invoking message, ensure that the bot has enough permissions to delete the message.

This PR fixes #640

Have the changes in this PR been tested?

Yes

Testing

Took off the Manage Message permissions from the bot and ran the following: image