Commit Graph

171 Commits

Author SHA1 Message Date
io 379a3849f8 re-count guilds on stats cog reload 2020-07-16 23:23:58 +00:00
io mintz 78c671ed02 make em/support work on all clusters 2020-07-07 00:15:47 +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 1c08a9bc67 move systemd to bot bin 2020-07-01 06:44:33 +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 c8c4261bab README: document the new command 2020-06-19 04:16:17 +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 c15a774a00 bot: require sharding arguments
the stats cog expects the sharding attrs anyway
2020-06-19 03:56:27 +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 8739902754 stats: fix reloading the cog (discord token is popped after launch) 2020-06-03 21:24:06 +00:00
io mintz e284b9ee62 stats: fix over-reporting when on_ready is dispatched twice 2020-06-03 21:11:26 +00:00
io mintz 9d570b55fe bot: remove initial_activity
now that we use em/ as prefix, no need for this func
2020-06-02 03:44:23 +00:00
io mintz eb6e275c8a add systemd notify support 2020-06-02 03:38:33 +00:00
io mintz 722c87c75b stats: use proper IPC instead of a shared file 2020-06-02 03:37:18 +00:00
io mintz e8881788a8 split shard IDs by - instead of , to accomodate systemd template units 2020-06-02 00:53:25 +00:00
io mintz 5695cf86f1 support multi-process sharding 2020-06-02 00:51:20 +00:00
io mintz d16bb2c6f1 update README 2020-06-01 05:56:35 +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 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 6ebebe5045 move data to data/ 2020-05-13 00:28:02 +00:00
io mintz 5a7acbfe3e add copyright headers to all files 2020-05-12 23:56:06 +00:00
io mintz a7d9c03786 add copyright license file 2020-05-12 23:50:15 +00:00
Io Mintz 23b6447e44 relicense to AGPLv3 2020-05-01 03:14:25 +00:00
Io Mintz 735f125d9c utils.image: stop shitting up /tmp 2020-04-29 23:55:31 +00:00
Io Mintz 041dcc6ed0 update stats command docs 2020-04-28 02:58:32 +00:00
Io Mintz 2c8913a1c9 Merge pull request #4 from StarrFox/add-status-command
add status command
2020-04-28 02:54:43 +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 28423f85c6 support: log why the code was created 2020-04-18 22:15:23 +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 9fd2f5c2c6 gitignore: ignore zips 2019-10-15 22:54:41 +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 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 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 1ad3a7ccec bot: override process_config 2019-09-19 21:14:18 +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