Commit graph

56 commits

Author SHA1 Message Date
3795c85a7d
Fix standalone mode 2022-11-02 20:24:13 -05:00
b098499c67
oh god help 2022-10-31 12:49:19 -05:00
5d679dbb7a
Make broadcasts persistent, fix Postgres database upgrades, fix image slash commands with text not working in DMs 2022-10-25 12:37:55 -05:00
b9f1ccc39e
Fix lavalink connection init 2022-10-01 12:51:57 -05:00
f781fb1ae5
Fix ready event running multiple times 2022-10-01 12:02:18 -05:00
a50c86a0e2
Split ready event into dedicated event file, made some changes to init 2022-09-28 23:38:19 -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
03aa3b3a2b Removed Twitter bot 2021-03-08 10:37:43 -06:00
9b4861ae4a Fixed database stop crash, made playing status use the current bot username 2020-12-18 18:57:41 -06:00
5fa5f21289 Moved database driver-specific code to their own files 2020-12-18 18:50:25 -06:00
ef945adf09 Added support for using both MongoDB and PostgreSQL, changed image api timeouts, removed all moderation commands 2020-12-17 20:32:19 -06:00
0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
1c686016bb Allow changing default prefix in config 2020-09-03 17:48:28 -05:00
e0d7ea7a57 Added ability to disable tags for a server, added way to remove warnings 2020-09-03 14:26:39 -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
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
6eee7c6058 Moved back to MongoDB, added some extra flags to flag 2020-07-26 19:52:13 -05:00
0ebd0a0cee Added crop and loop, fixed database not properly adding new commands 2020-07-23 17:43:39 -05:00
9555406229 Final Magick++ ports, removed gm module 2020-07-23 15:49:34 -05:00
950ce00a80 Added extra pm2 and sigint handling 2020-07-21 20:29:32 -05:00
617cf01090 Allow server admins to delete tags, don't run ready functions more than needed 2020-07-16 09:28:09 -05:00
2a67b76169 Migrated database to PostgreSQL, updated packages 2020-07-10 12:07:24 -05:00
0760136ded Attempt workaround for Twitter errors crashing the bot, fixed lavalink memory leak 2020-07-07 14:28:16 -05:00
59c2c230fb Added initial music commands and category, moved lavalink node config to separate file 2020-07-06 15:19:30 -05:00
111b177968 Moved gm extensions and lavalink connection to start of ready, removed unused variable in stats 2020-07-02 10:33:27 -05:00
7dbf6fdf2a Automatically disable voice commands if Lavalink is missing 2020-06-27 16:34:31 -05:00
0cc80da8b6 Huge sound player overhaul using Lavalink, added boom, removed prunejuice, boat, and bus, re-encoded audio files with ffmpeg 2020-06-27 12:18:26 -05:00
ba07757d1d Added automatic process to delete stale database entries 2020-05-20 13:24:57 -05:00
c65a8115aa Added count, added some new playing lines, fixed security issue with hackban 2020-04-26 16:55:33 -05:00
97c5ee8c05 Added fallback for large images, fixed corrupt xmp profile issue, updated packages 2020-04-20 15:52:22 -05:00
f6425dc294 Refactored image/embed handling to prepare for something, don't use fuzz with sonic 2020-04-12 14:51:48 -05:00
628a002205 Added channel, allow using a mention on hackban and snowflake 2020-04-09 21:40:52 -05:00
6dfba281ef Fixed gifvs not having proper delay 2020-03-15 12:54:51 -05:00
93a7b3fa0d Replace twit with my own module, node-tweet 2020-03-14 18:03:45 -05:00
782073c203 Fixed issue with warns not properly registering 2020-03-05 14:42:32 -06:00
903130dce1 Added warn 2020-02-27 09:49:32 -06:00
a839b3b9c8 Removed unnecessary logs, added alternative URL for screenshot 2020-02-26 14:58:38 -06:00
b7aeacdf66 Removed format argument from jpeg, modified bufferPromise function a bit 2020-02-26 13:23:18 -06:00
ac47394ca2 Fixed empty buffer issue 2020-02-25 19:57:44 -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
1e259ab312 Removed node version check, promisified many gm calls 2020-02-20 18:26:49 -06:00
56034a6849 Remove unneeded log 2019-12-30 07:48:06 -06:00
f8e36acc35 Remove unnessecary log 2019-12-29 17:36:40 -06:00
641cea664c Made the twitter bot not reply to blocked users (for real this time) 2019-12-29 15:11:58 -06:00
1fddd58059 Don't reply to blocked users on Twitter bot 2019-12-29 13:55:23 -06:00
6446cfd9bd Tweaked a few things, temporarily disabled yoda due to some issues 2019-12-29 10:56:32 -06:00
903f5eebf0 Removed XP system, fixed a few more bugs 2019-12-16 12:13:38 -06:00
08ec2ca9ea Removed unnecessary comments, replaced instances of console.error with a throw 2019-12-10 09:53:43 -06:00
c357d3bc46 Added toggle/options for help page generator 2019-12-05 11:40:09 -06:00
0920c459d5 Improved twitter bot a bit more, replaced all indexOf checks, fixed xp message bug 2019-11-23 17:23:28 -06:00