Commit graph

58 commits

Author SHA1 Message Date
d33a7804d7
Added (hacky) message command support, lots of work to prepare for message content intent enforcement, improve broadcast, remove evalraw, update packages 2022-08-31 20:00:34 -05:00
4e3e420875
Fix case-insensitive gfycat links in slash commands 2022-08-26 14:54:26 -05:00
fe3886b32f
Fix Tenor error messages 2022-08-11 14:49:07 -05:00
da6f95aad8
Migrate to undici, try new method for getting image size/type/data 2022-08-11 11:46:56 -05:00
34ac7b3380
Update packages 2022-08-11 10:40:10 -05:00
b0f4c16d50
Fix reddit slash command text input, make filename detection split on last period 2022-07-30 20:21:06 -05:00
f3eea0d96a
Add uncanny, detect filename from image link 2022-07-30 16:00:09 -05:00
93fa8e8098
Fix slash command "link" field not working with gifvs, update packages 2022-07-19 21:06:51 -05:00
c3a1de0d60
Update to Tenor API v2 (you'll need to get a new key) 2022-06-23 18:44:10 -05:00
ef97602d32
Get slash command attachments working on stable eris 2022-06-20 10:55:55 -05:00
ff589d11c9
Fix help pages, do not read delay from tenor MP4s, update packages 2022-06-07 18:06:44 -05:00
a91c73b5bd
More slash commands, rework soundboard commands, added generic music and soundboard commands, tweak speechbubble 2022-04-04 22:05:28 -05:00
2cffdf6628
Lots of slash command work, added workaround for eris-fleet request debugging 2022-03-31 00:42:03 -05:00
a7b60548d0
Added another giphy URL 2022-03-05 23:06:20 -06:00
593c132555
Retry image jobs on fail, deafen the bot when playing audio 2022-01-26 15:24:10 -06:00
2db49e65e0
Check for the article embed type 2022-01-15 10:47:41 -06:00
e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00
d42c67cde2
Added the ability for sticker to check for stickers previously posted in a channel 2021-10-05 16:48:26 -05:00
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