Commit Graph

67 Commits

Author SHA1 Message Date
murm e67c0d96ca stuff and things 2023-03-16 20:23:01 -04:00
murm 3957b17645 allow imagedetect to pull from room history 2023-03-16 11:32:14 -04:00
murm db9b70bf66 initial update 2023-03-15 10:09:09 -04:00
Essem 345b525188
Properly ack Select Image requests, add client key to Tenor request, update packages 2022-12-12 11:07:58 -06:00
Essem 6fdc345f47
Fix imagedetect on a single reply message 2022-10-12 22:23:16 -05:00
Essem c70f86607f
Fixes for thread channels, voice commands, image handling, and snowflake, update packages 2022-09-27 14:46:07 -05:00
Essem 888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
Essem 86f6811e6e
Fix message command counts 2022-09-10 17:51:00 -05:00
Essem 6b1991a200
Fix Tenor .gif links 2022-09-06 16:25:13 -05:00
Essem 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
Essem 4e3e420875
Fix case-insensitive gfycat links in slash commands 2022-08-26 14:54:26 -05:00
Essem fe3886b32f
Fix Tenor error messages 2022-08-11 14:49:07 -05:00
Essem da6f95aad8
Migrate to undici, try new method for getting image size/type/data 2022-08-11 11:46:56 -05:00
Essem 34ac7b3380
Update packages 2022-08-11 10:40:10 -05:00
Essem b0f4c16d50
Fix reddit slash command text input, make filename detection split on last period 2022-07-30 20:21:06 -05:00
Essem f3eea0d96a
Add uncanny, detect filename from image link 2022-07-30 16:00:09 -05:00
Essem 93fa8e8098
Fix slash command "link" field not working with gifvs, update packages 2022-07-19 21:06:51 -05:00
Essem c3a1de0d60
Update to Tenor API v2 (you'll need to get a new key) 2022-06-23 18:44:10 -05:00
Essem ef97602d32
Get slash command attachments working on stable eris 2022-06-20 10:55:55 -05:00
Essem ff589d11c9
Fix help pages, do not read delay from tenor MP4s, update packages 2022-06-07 18:06:44 -05:00
Essem a91c73b5bd
More slash commands, rework soundboard commands, added generic music and soundboard commands, tweak speechbubble 2022-04-04 22:05:28 -05:00
Essem 2cffdf6628
Lots of slash command work, added workaround for eris-fleet request debugging 2022-03-31 00:42:03 -05:00
Essem a7b60548d0
Added another giphy URL 2022-03-05 23:06:20 -06:00
Essem 593c132555
Retry image jobs on fail, deafen the bot when playing audio 2022-01-26 15:24:10 -06:00
Essem 2db49e65e0
Check for the article embed type 2022-01-15 10:47:41 -06:00
Essem e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00
Essem d42c67cde2
Added the ability for sticker to check for stickers previously posted in a channel 2021-10-05 16:48:26 -05:00
Essem 95dc02aed5
Docker tweaks 2021-09-13 13:05:22 -05:00
Essem 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
Essem ae8b121d03
Added server/user count to stats, fixed message not showing on tenor/large image errors 2021-06-29 14:10:22 -05:00
Essem 41c8be04cf Added gif, detect if any image servers are disconnected 2021-06-28 17:59:05 -05:00
TheEssem 787eb347f6
Changed Tenor API url, account for ratelimits, switch Member#permission to Member#permissions 2021-05-14 09:31:12 -05:00
TheEssem 8e7764fc57 Add extra giphy media URL 2021-05-06 16:12:44 -05:00
TheEssem 56113a1cf8 Fixed some DM command issues, made reload and restart use IPC 2021-04-30 12:31:53 -05:00
TheEssem b5253cf8e3 Potential giphy fix 2021-04-21 17:37:05 -05:00
TheEssem 2a22c73654 Made image detection start with replies 2021-04-19 22:06:40 -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 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
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 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
TheEssem 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
TheEssem 9f2bd1fecb Make the bot itself get the image file type again 2021-01-04 20:53:34 -06:00
TheEssem 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
TheEssem 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
TheEssem ca6cffa67c Some security fixes 2020-11-20 15:16:52 -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 a03d3a5e79 Fixed GIF commands for real (lol) 2020-10-19 20:24:53 -05:00
TheEssem 5e34e45ac4 Fixed GIF-only commands 2020-10-19 18:48:43 -05:00
TheEssem cf5c649384 Heavy work on the image detection code, fixed mention prefixes not being properly registered 2020-10-18 16:53:35 -05:00