Commit Graph

34 Commits

Author SHA1 Message Date
murm ff7f0a3110 Natives Rework (Thank you Essem)
Co-authored-by: Essem <TheEssem@users.noreply.github.com>
2023-03-19 04:40:32 -04:00
murm db9b70bf66 initial update 2023-03-15 10:09:09 -04:00
Essem 10b80f2fd0
Add togif parameter 2023-03-08 19:36:39 -06:00
Essem cc7ea2762c
Refactor and prepare for future CLI implementation 2023-03-08 14:41:13 -06:00
Essem 3c16599126
Deduplicate vips shutdown, reformat natives, remove soos alias 2022-12-28 17:01:50 -06:00
Essem 47b2d9fcff
Finish converting natives 2022-12-28 00:20:17 -06:00
Essem 60cac58043
Convert freeze and speed 2022-12-12 12:13:03 -06:00
bjcscat 330dd67063
Partial natives rework (#325)
* natve code reworking

* Whoops

* remove old code

* Make gc callback instead of do thing that causes segfault
2022-11-27 13:03:07 -06: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 05795313c4
Fix deepfry/jpeg delay, port speed 2022-05-01 14:37:29 -05:00
Essem 7536352858
Fixed speed frame removal delay bug, allow extending pagination timeout 2022-02-06 01:12:04 -06:00
Essem 535e6e0e4a
why did I think that using remove_if was a good idea 2022-01-15 00:04:34 -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 55a150c0c9
Check for trailing byte in speed 2021-05-17 23:44:28 -05:00
TheEssem e6b4db6e3e
Implemented a faster speed/slow method that doesn't require decoding the GIF 2021-05-11 23:05:38 -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 2b810c7c86 Re-add image job timeout, split dockerfiles, removed api from docker-compose, more fixes 2021-05-10 22:59:19 -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
TheEssem 7db1aa880c Added argument support to slow/speed, made video detection also detect images 2021-04-19 20:15:32 -05:00
TheEssem e00671f0d5 Added argument to freeze for setting the end frame, speed is now aware of variable framerates 2021-04-19 11:04:24 -05:00
TheEssem cc82d32840 Fixed slow, changed clean to handle all env variables, changed database handling 2021-04-14 16:37:40 -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 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 ecef687ed8 Fixed issue with speed on gifvs 2020-09-10 20:50:52 -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 e860aee986 Even more Magick++ ports 2020-07-22 19:54:58 -05:00
TheEssem 78dbeabd39 Ported even more commands to Magick++ 2020-07-22 13:12:38 -05:00