Commit Graph

27 Commits

Author SHA1 Message Date
Essem 7a88f6b693
Fix emoji font stack, change sonic font, fix job ID not being sent on jobs that don't require image input, some error handling fixes 2022-09-23 17:24:28 -05:00
Essem 4f66519aa7
Load fonts directly from assets directory, fix image buffer issues 2022-09-22 23:44:54 -05:00
Essem 4265e3e914
Make log files rotate, clean up separated text input, add more uncanny images, use a more reliable method to get the instance owner username 2022-08-03 20:54:07 -05:00
Essem 4ccaea7c91
Properly clear vips error data 2022-06-27 22:50:53 -05:00
Essem ff84306637
Change default searx URL, update packages 2022-06-22 11:00:31 -05:00
Essem 34c0ee14e0
A few tweaks 2022-06-20 01:05:06 -05:00
Essem 6b34cb9d9e
Remove delay parameter, change argument handling, make help command show proper flag types 2022-06-07 18:26:40 -05:00
Essem bae6342d80
how the hell did I miss this 2022-05-20 10:21:19 -05:00
Essem 0162997792
Port motivate, globe (assets need work), and reverse 2022-05-18 22:20:17 -05:00
Essem 1a76d4d0c4
Fixed avatar arg issue, fixed motivate bottom text 2021-12-30 14:27:18 -06:00
Essem 952f2e5237
Fix motivate font, fixed server command check error 2021-12-23 16:09:50 -06:00
Essem 30bcb7a969
Added extra font support to some other commands, handle overflow on image api 2021-12-06 01:25:38 -06:00
Essem f5a0fa5f7c
Catch image load warnings, set message limit to 50, don't crash the bot if .git is missing 2021-10-23 13:58:19 -05:00
TheEssem 248ea8a71b
Removed dedicated napi error handler 2021-05-23 17:25:00 -05:00
TheEssem 61758fa3bb
Pass an image buffer into the native functions instead of a URL 2021-05-11 14:25:02 -05:00
TheEssem 6a96686772 Add catch-all error handler to native image functions 2021-05-03 16:01:48 -05:00
TheEssem b7fe04c82b Added reddit, catch any errors in native functions 2021-04-26 09:47:03 -05:00
TheEssem 6cecd4b9d6 Make all native image functions synchronous 2021-04-24 17:54:47 -05:00
Essem 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
adroitwhiz a74f2691a8
Remove redundant animationDelay calls (#68) 2021-02-25 15:31:10 -06:00
adroitwhiz 4842479001
Optimize dithering (#66) 2021-02-25 15:09:53 -06:00
TheEssem 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
TheEssem 4caec5aefa Fixed characters not being properly encoded, fixed images not being properly appended, more fixes 2020-09-09 21:36:20 -05:00
TheEssem 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
TheEssem f9c8d6b26d A bit of cleanup 2020-07-28 09:38:55 -05:00
TheEssem 78dbeabd39 Ported even more commands to Magick++ 2020-07-22 13:12:38 -05:00