1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00
Commit graph

62 commits

Author SHA1 Message Date
Benjamin Mintz
10ed6bb63f add zip/tar archive support 🎉 2019-08-04 10:15:59 +00:00
Benjamin Mintz
7dd40ce0e5 make the support command dynamically create invites to reduce raids 2019-07-02 10:03:13 +00:00
Benjamin Mintz
05bcf4a412 fix SyntaxWarning: invalid escape sequence \: in 3.8 2019-06-13 19:49:35 +00:00
Benjamin Mintz
b657892b3b fix errors when timing out while resizing 2019-06-10 23:42:44 +00:00
Benjamin Mintz
127cf320be set dpy logger to INFO 2019-06-04 03:08:44 +00:00
Benjamin Mintz
aae88068fc move image resizing to a subprocess 2019-06-04 03:08:33 +00:00
Benjamin Mintz
943ca5d8a6 migrate to d.py 1.0.1 2019-04-20 20:28:01 +00:00
Benjamin Mintz
0d9b93e54a migrate to new cog changes 2019-03-14 00:19:14 +00:00
Benjamin Mintz
f17bfa379d use my helpformatter 2019-01-28 03:39:42 +00:00
bmintz
4d336d419f Merge branch 'master' of https://github.com/bmintz/emote-manager-bot 2018-11-09 18:33:16 +00:00
bmintz
ad540e91b0 allow anyone to use the list command 2018-11-09 18:32:04 +00:00
bmintz
b48ced2508 add "list static" and "list animated" 2018-11-09 18:31:32 +00:00
bmintz
6028b60067 fix "add <a:name:id>" not being animated 2018-10-09 06:08:20 +00:00
bmintz
fa6b43d246 add: improve command usage string 2018-10-09 06:07:52 +00:00
bmintz
c53f60f0d3 add/remove: require at least one emote, and allow more 2018-10-09 06:07:37 +00:00
bmintz
0b731ed0fc update config.example.py 2018-09-09 04:56:16 +00:00
bmintz
0523b2116f rename to Emote Collector 2018-09-09 04:16:42 +00:00
bmintz
ac8a9aa320 cogs/emote: fix local check 2018-09-07 21:50:17 +00:00
bmintz
ecefefb4c9 update the success emotes 2018-08-22 15:27:35 +00:00
bmintz
8f170d7f13 allow use of the actual emote in place of the emote name 2018-08-17 07:35:16 +00:00
bmintz
67027e5f0f cogs/emote: add some aliases 2018-08-17 07:13:38 +00:00
bmintz
dc02603cc0 Merge remote-tracking branch 'origin/master' 2018-08-17 05:34:58 +00:00
bmintz
be2343988b use aioec 2018-08-17 05:34:31 +00:00
Ben Mintz
15f186930e Create README.md 2018-08-15 15:34:57 -05:00
bmintz
08aef03d6b add-from-ec: handle cases where the API is down 2018-08-14 00:16:43 -05:00
bmintz
9cd8ed4189 remove one debug log statement 2018-08-14 00:11:38 -05:00
bmintz
3550d5c502 cogs/emote: remove one print, add another 2018-08-14 00:08:34 -05:00
bmintz
7b843d0bd9 fix allowing @Emote Manager list 2018-08-11 21:08:23 -05:00
bmintz
e366cb4537 allow anyone to use the list command 2018-08-11 21:06:39 -05:00
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
402da00cd9 add support command 2018-08-10 08:01:15 -05:00
bmintz
85eb1ce741 make the default description a bit easier to read 2018-07-31 21:07:19 -05:00
bmintz
95848c3163 add description 2018-07-31 21:05:23 -05:00
bmintz
e5da0de672 add add-from-ec command 2018-07-31 20:46:21 -05:00
bmintz
bd44b8f1b2 Merge branch 'master' of https://github.com/bmintz/emote-manager-bot 2018-07-31 18:03:39 -05:00
bmintz
f44b106b60 add invite command 2018-07-31 18:02:55 -05:00
bmintz
cfb51bf8b4 add raw form to list cmd 2018-07-31 05:13:54 -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
52618915be mv cogs/{emoji,emote}.py 2018-07-30 19:14:34 -05:00
bmintz
d572e593b6 cogs/emoji.__local_check: fix error message
- also fail when user has perms but bot doesn't
- clarify this in the error message
2018-07-30 19:04:43 -05:00
bmintz
12d32c985a ignore bots 2018-07-30 02:36:23 -05:00
bmintz
d5c0983a5f Revert "change avatars every 30 minutes"
This reverts commit ee9f8a0af9.
Yeah actually nevermind.
2018-07-30 01:30:44 -05:00
bmintz
ee9f8a0af9 change avatars every 30 minutes 2018-07-30 01:25:08 -05:00
bmintz
5d13b2fec6 cogs/emoji.remove: support removing multiple emotes 2018-07-30 00:58:03 -05:00
bmintz
69ae7f8bb4 cogs/emoji: add some docstrings 2018-07-30 00:57:47 -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
52bd87300a add rename command 2018-07-30 00:33:13 -05:00
bmintz
adc631c8d3 move image utils to utils.image 2018-07-30 00:26:15 -05:00