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

72 commits

Author SHA1 Message Date
igna
35f019a490 format 2021-09-07 14:47:30 +00:00
igna
84c5276076 format and nextcord 2021-09-07 14:22:54 +00:00
io
e295b159c5 update license headers 2021-07-11 03:03:32 +00:00
io
22466322d8 only resize in subprocess when necessary 2021-07-11 02:55:22 +00:00
io
28359eac50 fix audit log reason never showing username 2021-07-08 07:06:04 +00:00
io
47ca9b5029 we only need to track RLs for POST
DELETE has an RL of 1/2s so no need
2021-07-08 06:55:00 +00:00
io
fdba482d8b fix emoji cache not being updated after successive remove calls 2021-06-23 04:39:01 +00:00
io
f508085e29 fix EmoteClient.create() not returning an emoji
This would manifest as the bot saying, for example:

Emote {'name': 'AkkoLewd', 'roles': [], 'id': '857107131931951145', 'require_colons': True, 'managed': False, 'animated': True, 'available': True} successfully created as a GIF.
2021-06-23 04:21:41 +00:00
io
429bb89c94 Better UX for rate limits (fixes #4) 🥳 2021-06-23 03:30:27 +00:00
io mintz
8e4e236d2b em/big: support any emote, not just emotes in the server 2021-06-03 07:58:43 +00:00
io mintz
c1592969d5 add-from-ec: use the last public dump of EC's emotes 2021-06-03 07:46:19 +00:00
Chippy
4945a003d0
add command to embiggen an emote (#15) 2021-02-16 00:31:24 -06:00
io mintz
c3d92606ce fix a comment
nice commit iomintz
2020-09-29 09:12:52 +00:00
io mintz
5d10258609 cogs/emote: remove redundant code in cog_check 2020-09-29 07:59:33 +00:00
io mintz
aeed3b6a56 make the export command public 2020-09-29 07:59:33 +00:00
io mintz
14a82561e7 fix em/add with attachments 2020-07-06 04:52:34 +00:00
io mintz
30c16b8b8c fix importing zips with two emotes with the same name
- export now does foo.png, foo-2.png for two emotes called foo
- reflect that in the importer
2020-07-01 06:46:42 +00:00
io mintz
68227a2b44 update file size limit for em/export 2020-06-23 22:56:05 +00:00
io mintz
3590a0162d split zips in parallel (fixes #3) 2020-06-23 22:51:54 +00:00
io mintz
a175050e11 [wip] split exported zips 2020-06-23 22:14:10 +00:00
io mintz
2667ee8d43 add a command to add a bunch of custom emotes 2020-06-19 04:14:39 +00:00
io mintz
7b2f963dd7 add webp to an error message 2020-06-11 23:59:13 +00:00
io mintz
0173884617 add webp to valid image mimetypes 2020-06-11 23:57:35 +00:00
io mintz
aa298198f1 fix help output for list/export 2020-06-01 05:47:10 +00:00
Io Mintz
fcc1f405e3 cogs/emote: remove extra cast to str 2020-05-13 08:26:32 +00:00
StarrFox
cba238464c Fix error messages not sending 2020-05-12 21:01:41 -05:00
io mintz
5a7acbfe3e add copyright headers to all files 2020-05-12 23:56:06 +00:00
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