Commit graph

558 commits

Author SHA1 Message Date
51e06c256a Some fixes 2021-04-12 16:54:44 -05:00
40223ec8b5
Class commands, improved sharding, and many other changes (#88)
* Load commands recursively

* Sort commands

* Missed a couple of spots

* missed even more spots apparently

* Ported commands in "fun" category to new class-based format, added babel eslint plugin

* Ported general commands, removed old/unneeded stuff, replaced moment with day, many more fixes I lost track of

* Missed a spot

* Removed unnecessary abort-controller package, add deprecation warning for mongo database

* Added imagereload, clarified premature end message

* Fixed docker-compose path issue, added total bot uptime to stats, more fixes for various parts

* Converted image commands into classes, fixed reload, ignore another WS event, cleaned up command handler and image runner

* Converted music/soundboard commands to class format

* Cleanup unnecessary logs

* awful tag command class port

* I literally somehow just learned that you can leave out the constructor in classes

* Pass client directly to commands/events, cleaned up command handler

* Migrated bot to eris-sharder, fixed some error handling stuff

* Remove unused modules

* Fixed type returning

* Switched back to Eris stable

* Some fixes and cleanup

* might wanna correct this

* Implement image command ratelimiting

* Added Bot token prefix, added imagestats, added running endpoint to API
2021-04-12 11:16:12 -05:00
ff8a24d0e8 Switched back to Eris dev channel to prevent logspam 2021-04-01 09:09:59 -05:00
48fb0c98c8 Fixed postgres not properly getting command count on newly registered commands 2021-03-31 22:16:23 -05:00
43e0f7f447 Send error back to API client when the API server stops 2021-03-31 21:44:13 -05:00
2d5eef2c8c Replaced retro with New And Improved™ variant 2021-03-31 21:04:58 -05:00
64ab2b9bc1 v1.4.6 2021-03-30 17:09:45 -05:00
4fb379474b Port pagination fix from class-commands, replaced a playing message 2021-03-30 17:00:07 -05:00
162bc7c093 I literally can not fix pagination 2021-03-19 15:10:15 -05:00
Lewis Crichton
3dd7fa4ed8
Make processing emoji an environment variable (#83) 2021-03-19 10:26:17 -05:00
07e1fa8dc2 Allow user/reply mentions 2021-03-18 21:24:37 -05:00
9f300f763a Switch to postgres in docker compose 2021-03-18 11:19:08 -05:00
5d2e2b5274 Upgraded retrotext and DBL posting packages, fixed mention prefixes and DM commands 2021-03-18 09:29:03 -05:00
c0332673bf well crap 2021-03-16 15:59:59 -05:00
03ddf5c88c Fixed mention prefix 2021-03-16 15:45:10 -05:00
74baa29684 Send unsanitized content to commands via content parameter, fixed emote command, removed another async promise 2021-03-16 13:24:21 -05:00
cb8f939378 v1.4.5 2021-03-16 10:44:45 -05:00
b0313bc041 wow thanks eris for not blocking these by default 2021-03-16 10:33:16 -05:00
4c83c55344 supposedly async promises are bad lmao 2021-03-15 22:29:48 -05:00
f2e81b7eeb Only check permissions on current channel 2021-03-12 14:42:07 -06:00
b9a6b9e615 Updated status messages 2021-03-11 09:49:32 -06:00
03aa3b3a2b Removed Twitter bot 2021-03-08 10:37:43 -06:00
8c760a527d Removed status section from userinfo 2021-03-08 09:10:31 -06:00
165fff0cf2 Fixed dispose weirdness with caption and spin 2021-03-06 11:39:54 -06:00
4a4822851f Fixed GIF detection stuff 2021-03-06 10:33:00 -06:00
7cf9bcca4e write stable audio queue code challenge (instantly failed) 2021-03-05 22:13:58 -06:00
4fac887e22 Pass cleaned message content to commands, could break things but idk 2021-03-05 21:59:13 -06:00
4419d73d97 soundplayer crash prevention 2021-03-05 15:32:37 -06:00
f6bec828d7 Fixed database thing 2021-03-05 15:20:15 -06:00
f0c685d8c4 Make soundreload more useful 2021-03-05 15:13:54 -06:00
2499fb2a3b Don't rely on lavacord eris helper package, another pagination fix attempt, make cowsay use a different lib 2021-03-05 12:06:22 -06:00
45bb53d521 Ping the user when a response takes over 3 minutes, added config option for specifying a custom 8mb image domain 2021-03-05 12:03:17 -06:00
4d5ef3c24f Added edit date to help page, fixed image command quote 2021-03-04 22:33:03 -06:00
362a0c0d80 Install libvips in the Dockerfiles 2021-03-04 09:05:19 -06:00
429bfdd540 v1.4.4 2021-03-04 08:46:22 -06:00
a8db0a1204 Fixed qrread not being properly sanitized 2021-03-04 08:42:45 -06:00
e3b3bdc7b7 Merge branch 'master' of https://github.com/esmBot/esmBot 2021-02-25 15:41:14 -06:00
adroitwhiz
a74f2691a8
Remove redundant animationDelay calls (#68) 2021-02-25 15:31:10 -06:00
c6769b555d v1.4.3 2021-02-25 15:18:48 -06:00
adroitwhiz
dabf02eb5f
Fix flag command erroring when no flag provided (#67) 2021-02-25 15:10:03 -06:00
adroitwhiz
4842479001
Optimize dithering (#66) 2021-02-25 15:09:53 -06:00
928eb7fa16 Fixed API Dockerfile 2021-02-25 14:11:03 -06:00
adroitwhiz
d25639c0ec
Pass sock in recursive acceptJob calls (#65) 2021-02-19 21:01:41 -06:00
adroitwhiz
bd486f5c04
Build native commands in parallel (#63) 2021-02-19 10:29:59 -06:00
adroitwhiz
6c5c625203
Build ImageMagick in parallel (#64) 2021-02-19 10:29:01 -06:00
3d85389638 Image commands now use optimizeTransparency instead of optimizeImageLayers 2021-02-12 18:22:36 -06:00
e7ffa23411 Some assorted fixes 2021-02-07 11:08:55 -06:00
443da54298 Updated to Eris 0.14, removed spam, removed unused font 2021-01-27 22:57:13 -06:00
31712edf79 Added YouTube API rate limit message 2021-01-27 11:17:11 -06:00
adroitwhiz
7167956a76
Stop using ffprobe to read GIF frame delay (#57)
* Stop using ffprobe to read GIF delay

* Default image delay to 0
2021-01-26 20:30:04 -06:00