Io Mintz
041dcc6ed0
update stats command docs
2020-04-28 02:58:32 +00:00
StarrFox
add1b041a5
Use guild.emoji_limit and implicit string concatenation
2020-04-26 23:27:21 -05:00
StarrFox
c857ce1d20
add status command
2020-04-25 21:12:45 -05:00
Io Mintz
613600123f
fix some error messages being sent twice
2020-04-19 04:02:55 +00:00
Io Mintz
c7c0cab64c
forgot an "f" before an f-string
2020-01-18 00:20:40 +00:00
Io Mintz
1669ab6362
export: better document the required permissions
2020-01-18 00:20:20 +00:00
Io Mintz
89ec168e87
export: set the proper file time for each emote
2019-10-15 22:54:31 +00:00
Io Mintz
e32890fb60
add export command ( closes #2 )
2019-10-15 21:59:34 +00:00
Io Mintz
a42f72f2f5
fix NameError in cogs.emote.add_from_archive
2019-10-10 01:28:13 +00:00
Io Mintz
7658189744
fix cogs.emote.add_safe_bytes docstring
2019-10-10 01:27:53 +00:00
Io Mintz
2475d852a9
forgot to revert this change meant for debugging add_safe_bytes()
2019-10-10 01:27:53 +00:00
Io Mintz
97947e61c1
add-archive: ignore invalid files
...
allows uploading, for example, a zip file with a LICENSE
2019-10-10 01:27:41 +00:00
Io Mintz
e02022b245
auto convert static images to GIFs if there's no room ( closes #3 )
...
Also backport the image resize code from 70045b2a0e
.
2019-10-10 00:24:12 +00:00
Io Mintz
319456e9de
cogs/emotes: support customizing more aspects of the HTTP stuff
2019-09-19 20:45:47 +00:00
Benjamin Mintz
77f27cf6d0
add-from-ec: update emote list link
2019-09-18 06:04:45 +00:00
bmintz
165faa631f
strip leading directory paths from archive members
2019-08-04 11:34:52 +00:00
Benjamin Mintz
4828a4ff52
add-zip: fix error message for invalid files
2019-08-04 10:38:29 +00:00
Benjamin Mintz
bf668e10b9
cogs/emotes.cog_check: remove duplicate guard
2019-08-04 10:17:32 +00:00
Benjamin Mintz
f25ceb32a5
cogs/emotes.cog_unload: create 1 task instead of 3
2019-08-04 10:17:19 +00:00
Benjamin Mintz
10ed6bb63f
add zip/tar archive support 🎉
2019-08-04 10:15:59 +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
aae88068fc
move image resizing to a subprocess
2019-06-04 03:08:33 +00:00
Benjamin Mintz
0d9b93e54a
migrate to new cog changes
2019-03-14 00:19:14 +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
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
be2343988b
use aioec
2018-08-17 05:34:31 +00: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
e5da0de672
add add-from-ec command
2018-07-31 20:46:21 -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