Commit graph

40 commits

Author SHA1 Message Date
95dc02aed5
Docker tweaks 2021-09-13 13:05:22 -05:00
ae2ebe0337
Port to ESM modules (haha funny), removed cache request, many other changes that I forgot about 2021-08-19 09:19:14 -05:00
ae8b121d03
Added server/user count to stats, fixed message not showing on tenor/large image errors 2021-06-29 14:10:22 -05:00
41c8be04cf Added gif, detect if any image servers are disconnected 2021-06-28 17:59:05 -05:00
787eb347f6
Changed Tenor API url, account for ratelimits, switch Member#permission to Member#permissions 2021-05-14 09:31:12 -05:00
8e7764fc57 Add extra giphy media URL 2021-05-06 16:12:44 -05:00
56113a1cf8 Fixed some DM command issues, made reload and restart use IPC 2021-04-30 12:31:53 -05:00
b5253cf8e3 Potential giphy fix 2021-04-21 17:37:05 -05:00
2a22c73654 Made image detection start with replies 2021-04-19 22:06:40 -05:00
7db1aa880c Added argument support to slow/speed, made video detection also detect images 2021-04-19 20:15:32 -05:00
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
c67499af9d Added initial support for detecting videos, prevent music messages from showing on soundboard commands, fixed(?) permission checking 2021-04-19 09:31:39 -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
b2b8fd643a Add proper support for gfycat gifs, attempt to handle image errors "better", added some new activity messages 2021-01-17 20:40:52 -06:00
55da0db479 The image API no longer uses a unique thread for each job (due to image processing using its own thread anyway), added dummy DB driver 2021-01-06 16:10:31 -06:00
9f2bd1fecb Make the bot itself get the image file type again 2021-01-04 20:53:34 -06:00
8a2d4e6669 Fixed image API request closing prematurely, disabled music commands in production, various fixes regarding direct messages, fixed reply image checking, and removed yoda 2020-12-26 12:17:10 -06:00
94b0bc19a4 Added reply support to image detection, added stealth plugin to screenshot, made credits static, more fixes 2020-11-26 09:31:24 -06:00
ca6cffa67c Some security fixes 2020-11-20 15:16:52 -06:00
0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
a03d3a5e79 Fixed GIF commands for real (lol) 2020-10-19 20:24:53 -05:00
5e34e45ac4 Fixed GIF-only commands 2020-10-19 18:48:43 -05:00
cf5c649384 Heavy work on the image detection code, fixed mention prefixes not being properly registered 2020-10-18 16:53:35 -05:00
c471bd8af8 Preliminary DM support, update URLs to point to new repo link 2020-09-01 17:10:19 -05:00
95846d32d4 Fixed some issues with the sound player, search images in original message first, add max limit to dice 2020-08-16 11:48:37 -05:00
ba664fd19a Reject feedback messages if they contain links, increased image request timeout, some other fixes 2020-08-13 08:47:41 -05:00
78dbeabd39 Ported even more commands to Magick++ 2020-07-22 13:12:38 -05:00
710dfdcf84 Prevent using images larger than 25MB, automatically cancel request after 15 seconds 2020-07-16 19:53:44 -05:00
18330d3db9 Remove image URL from arguments of image commands 2020-04-23 17:38:01 -05:00
6dfba281ef Fixed gifvs not having proper delay 2020-03-15 12:54:51 -05:00
230502c274
Fixed issue with ImageMagick not properly outputting JPGs 2020-02-26 11:29:13 -06:00
e28f45cfec Made image detection get the proxy URL, added ad-hoc large file message 2020-02-25 15:07:36 -06:00
5455b2682c Removed duplicate type parameter, made image commands use a promisified version of the default toBuffer method 2020-02-25 14:45:47 -06:00
e2a32a8c89 One of the commits from a few days ago was a mistake 2020-02-19 08:25:45 -06:00
777b86e480 Added support for "gifv"s, fixed embed issue with image 2020-02-18 14:44:39 -06:00
4df084a427 Updated file-type 2020-01-19 09:40:40 -06:00
4fb8eb4989 Added support for GIFs in image commands, added caption 2020-01-07 19:17:04 -06:00
c1f2eadf88 Added name input to avatar, added alias for help, other changes 2019-12-09 15:33:06 -06:00
ef071a39d4 Removed extra image request for image commands, various other tweaks 2019-11-11 14:54:19 -06:00
c33a86eb4c Initial commit 2019-09-13 15:02:41 -05:00