Commit Graph

144 Commits

Author SHA1 Message Date
Essem 2e71097763
Port uncaption 2022-05-19 15:46:32 -05:00
Essem d191a69742
Port snapchat and zamn 2022-05-19 14:14:53 -05:00
Essem 0162997792
Port motivate, globe (assets need work), and reverse 2022-05-18 22:20:17 -05:00
Essem 05795313c4
Fix deepfry/jpeg delay, port speed 2022-05-01 14:37:29 -05:00
Essem 38233af2d7
Port deepfry, reddit, resize, and sonic, replace thumbnail with resize, cleanup 2022-05-01 14:37:28 -05:00
Essem 7486d5c170
Port whisper 2022-05-01 14:37:28 -05:00
Essem e989901039
Extend meme outline 2022-05-01 14:37:28 -05:00
Essem 7a31e063f8
Port meme 2022-05-01 14:37:28 -05:00
Essem d5811503da
Port recent watermark changes to libvips 2022-05-01 14:37:28 -05:00
Essem d9a2e0bfb9
Port freeze 2022-05-01 14:37:27 -05:00
Essem a1b12e16b4
Removed trump and leak
Both commands have overstayed their welcome, could return through some other way however
2022-05-01 14:37:27 -05:00
Essem 4a3d880a61
Port invert, jpeg, and mirror 2022-05-01 14:37:27 -05:00
Essem 112f15e9f2
Port watermark, homebrew, gamexplain, and flag 2022-05-01 14:37:27 -05:00
Essem 0fa02a9e6a
Port flip, re-add top to caption2 2022-05-01 14:37:27 -05:00
Essem 9e4cdd7120
Port crop 2022-05-01 14:37:26 -05:00
Essem 8b59e70fe5
Port caption2, start blur/colors ports 2022-05-01 14:37:26 -05:00
Essem 50ef9e51be
Don't crop if image isn't a GIF 2022-05-01 14:37:26 -05:00
Essem 2c60e404a4
Port caption to libvips 2022-05-01 14:37:26 -05:00
Essem 6bf0537c29
Add initial Azure Functions support, clean up gitignore 2022-04-17 10:40:56 -05:00
Essem 5b2b3549b4
Small tweaks 2022-03-09 13:30:18 -06:00
bjcscat b17611917f Add support for string gravity + speechbubble command 2022-03-08 23:24:48 +00:00
bjcscat d2b0aa4f99 update watermark with new features to make commands easier 2022-03-08 17:03:25 +00:00
Essem ec6fb7de37
Added tolerance option to uncaption, fixed nogif return type 2022-02-17 08:46:02 -06:00
Essem 7536352858
Fixed speed frame removal delay bug, allow extending pagination timeout 2022-02-06 01:12:04 -06:00
Essem 26741e8c6c
Rework pagination, fix caption2 font, some logging fixes, updated packages 2022-02-02 11:01:33 -06:00
Essem 715ed3bb7b
Added quality option to jpeg, adjusted CMakeLists, more tweaks 2022-01-20 22:52:29 -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 1e1a24b003
Add InitializeMagick to native image code 2021-12-30 23:08:06 -06:00
Essem 923349408e
Fixed mirror colorspace 2021-12-30 15:32:39 -06: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 f71f18fc5d
Added grayscale and sepia 2021-12-14 01:16:23 -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
ItsODRJR 98b812e0d3
ZAMN Image Command (#195)
* Add files via upload

* Add files via upload

* Update image.cc

* Add files via upload
2021-12-02 18:05:52 -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
Essem c6589dd507
Hardcoded color level values in deepfry, default to quantum depth of 8 2021-08-31 15:35:27 -05:00
Essem 560d3883ad
Made soos more smooth, added server count to prometheus, fixed unhandled soundplayer error 2021-08-16 23:04:11 -05:00
Essem cbc2918228
Fixed deepfry 2021-08-08 22:46:10 -05:00
Essem e44f5ba59d
Added font flag to caption 2021-08-06 22:27:50 -05:00
Essem d03967212e
Added more command flags, start documenting command flags, removed args argument from params function 2021-07-14 17:23:50 -05:00
Essem 74ee8988bf
Changed whisper font size 2021-07-12 16:53:54 -05:00
Essem 08e49537f9
Added whisper 2021-07-12 16:02:00 -05:00
Essem 2da505a778
Added deepfry, make jpeg work on GIFs 2021-06-29 17:26:22 -05:00
Essem 4672e8d6ad
Increase uncaption tolerance 2021-06-29 15:16:01 -05:00
Essem 41c8be04cf Added gif, detect if any image servers are disconnected 2021-06-28 17:59:05 -05:00
TheEssem 52d91b752d
Added snapchat, prevent image queue packet from being sent twice 2021-06-14 22:03:48 -05:00
TheEssem 248ea8a71b
Removed dedicated napi error handler 2021-05-23 17:25:00 -05:00
TheEssem 9fd9464cc5
Try a method for large meme text scaling 2021-05-22 22:24:34 -05:00
TheEssem 55a150c0c9
Check for trailing byte in speed 2021-05-17 23:44:28 -05:00
TheEssem 6149ede744
Scale meme text properly 2021-05-15 18:25:04 -05:00
TheEssem ad87722fd2
Changed blurple to reflect the new Discord rebrand 2021-05-13 17:19:28 -05:00
TheEssem 79bc36759c
Added support for DEBUG environment variable with image runner, make freeze use a similar method to speed 2021-05-13 17:11:13 -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 073c337d3d Added uncaption, removed unncecessary log 2021-05-04 16:28:34 -05:00
TheEssem 9f7f4d21ba Fixed globe outputting still images 2021-05-04 16:27:35 -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
TheEssem 2d5eef2c8c Replaced retro with New And Improved™ variant 2021-03-31 21:04:58 -05:00
TheEssem 165fff0cf2 Fixed dispose weirdness with caption and spin 2021-03-06 11:39:54 -06:00
TheEssem 4a4822851f Fixed GIF detection stuff 2021-03-06 10:33:00 -06: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 940e16b232 Fixed caption font sizing 2020-11-09 22:04:29 -06:00
TheEssem 0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
TheEssem 925eb387dd Fixed issue with skip vote counts, added headless chrome IP to config, other fixes 2020-09-18 19:54:52 -05:00
TheEssem 719fdf5871 Changed include dirs, updated readme/packages, use more efficient command checking, fixed reverse 2020-09-12 13:57:25 -05:00
TheEssem 17b347761d Reverted qrread native module 2020-09-11 15:22:25 -05:00
TheEssem 81c291ffa7 Apparently some other commands had the same issue 2020-09-10 21:04:09 -05:00
TheEssem ecef687ed8 Fixed issue with speed on gifvs 2020-09-10 20:50:52 -05: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 0d8e14ed90 Fixed invert (?) 2020-09-07 15:11: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 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
TheEssem f9c8d6b26d A bit of cleanup 2020-07-28 09:38:55 -05:00
TheEssem a11fee5ff1 Move QR code decoding to c++ module 2020-07-27 18:02:59 -05:00
TheEssem 0ebd0a0cee Added crop and loop, fixed database not properly adding new commands 2020-07-23 17:43:39 -05:00
TheEssem 9555406229 Final Magick++ ports, removed gm module 2020-07-23 15:49:34 -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
TheEssem bf19e24063 Ported homebrew, fixed explode 2020-07-21 09:03:08 -05:00
TheEssem 264bcf5425 Magick++ ports wave 3, fixed issues with avatar and globe 2020-07-20 17:10:04 -05:00
TheEssem 7100c408b9 missed a spot 2020-07-16 09:33:35 -05:00
TheEssem d3f46edfa6 Added globe, Magick++ ports wave 2 2020-07-16 09:31:48 -05:00
TheEssem bf14371b52 Ported more commands to Magick++, cleaned up a bit 2020-07-14 09:53:51 -05:00
TheEssem bdb15aee3f Native module migration wave 1, fixed issue with avatar 2020-07-12 10:14:39 -05:00