1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-03 23:22:29 +00:00
Commit graph

8 commits

Author SHA1 Message Date
bmintz
a830769987 paginator: actually fix reactions 2018-08-11 13:43:50 -05:00
bmintz
95048a590c paginator: make sure reactions are to the sole message 2018-08-11 12:26:07 -05:00
bmintz
c5c6e7ef24 fix command error handling
so, i had a fundamental misunderstanding about how command errors work.
turns out the help command runs the checks for each function.
This ended up sending one "permission denied" message for each command in the Emotes cog,
*each time help was run*.

To fix this, __local_check needs to not have extra side effects.
I create one new exception, MissingManageServerEmojis, and raise it in case the user or bot is missing permissions.
I re-use NoPrivateMessages, since that's already a d.py exception.

Then I catch the errors in on_command_error, and send them to the user.
2018-07-31 02:38:14 -05:00
bmintz
281fdecc77 add paginator module 2018-07-30 00:54:13 -05:00
bmintz
9eac167a57 add list command 2018-07-30 00:43:30 -05:00
bmintz
adc631c8d3 move image utils to utils.image 2018-07-30 00:26:15 -05:00
bmintz
b2bab91d36 s/emoji/emotes/ 2018-07-29 23:42:27 -05:00
bmintz
3b488ab787 add add command
a lot of this is from Emoji Connoisseur
2018-07-29 23:38:19 -05:00