Commit graph

15 commits

Author SHA1 Message Date
6a96686772 Add catch-all error handler to native image functions 2021-05-03 16:01:48 -05:00
b7fe04c82b Added reddit, catch any errors in native functions 2021-04-26 09:47:03 -05:00
6cecd4b9d6 Make all native image functions synchronous 2021-04-24 17:54:47 -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
165fff0cf2 Fixed dispose weirdness with caption and spin 2021-03-06 11:39:54 -06:00
adroitwhiz
4842479001
Optimize dithering (#66) 2021-02-25 15:09:53 -06:00
3d85389638 Image commands now use optimizeTransparency instead of optimizeImageLayers 2021-02-12 18:22:36 -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
940e16b232 Fixed caption font sizing 2020-11-09 22:04:29 -06:00
0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
4caec5aefa Fixed characters not being properly encoded, fixed images not being properly appended, more fixes 2020-09-09 21:36:20 -05:00
f415b3bb09 Changed image function syntax, improved dice, switched to fs.promises, might have also done other stuff but idk 2020-08-27 21:34:12 -05:00
70c4ff298f Added command usage count to help, remove nonexistent commands from database, add build method to package.json 2020-07-29 18:06:34 -05:00
f9c8d6b26d A bit of cleanup 2020-07-28 09:38:55 -05:00
9555406229 Final Magick++ ports, removed gm module 2020-07-23 15:49:34 -05:00