igna
3f73309974
format
2021-09-07 15:14:44 +00:00
igna
1ff3e93938
nextcord ™️
2021-09-07 15:07:51 +00:00
io
e295b159c5
update license headers
2021-07-11 03:03:32 +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
82706d8ea2
fix RuntimeWarning from utils.image subprocs
2021-07-07 04:02:41 +00:00
io
21703d7e44
EmoteClient: stop using internals
2021-06-23 14:39:02 +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
437a35bd05
remove some forgotten debug prints
2021-06-23 04:20:16 +00:00
io
429bb89c94
Better UX for rate limits ( fixes #4 ) 🥳
2021-06-23 03:30:27 +00:00
io mintz
48f17191a2
fix internal errors when passing an invalid converter to export and list
2021-06-03 07:46:59 +00:00
io mintz
0ae7331828
disable message cacheg
2020-10-01 06:06:43 +00:00
io mintz
1c08a9bc67
move systemd to bot bin
2020-07-01 06:44:33 +00:00
io mintz
eb6e275c8a
add systemd notify support
2020-06-02 03:38:33 +00:00
io mintz
aa298198f1
fix help output for list/export
2020-06-01 05:47:10 +00:00
io mintz
7e5f01b82d
support WEBP
2020-05-18 02:04:02 +00:00
io mintz
5a7acbfe3e
add copyright headers to all files
2020-05-12 23:56:06 +00:00
Io Mintz
735f125d9c
utils.image: stop shitting up /tmp
2020-04-29 23:55:31 +00:00
Io Mintz
e32890fb60
add export command ( closes #2 )
2019-10-15 21:59:34 +00:00
Io Mintz
f6d9cea805
simplify utils.archive.extract_async and stop ignoring the size_limit kwarg
...
Getting the initial generator in an executor is misguided since it does not actually begin executing until primed
2019-10-10 01:27:53 +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
Benjamin Mintz
70c88e61f1
fix some discord.NotFound errors in paginator
2019-08-05 15:40:40 +00:00
Benjamin Mintz
4828a4ff52
add-zip: fix error message for invalid files
2019-08-04 10:38:29 +00:00
Benjamin Mintz
10ed6bb63f
add zip/tar archive support 🎉
2019-08-04 10:15:59 +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
bmintz
ecefefb4c9
update the success emotes
2018-08-22 15:27:35 +00: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
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