Commit Graph

38 Commits

Author SHA1 Message Date
murm 9539ea32cd remove paginator, it is extremely discord-specific 2023-03-19 06:42:07 -04:00
murm b424b2f813 god i love annoying orange 2023-03-19 01:10:48 -04:00
murm 47700fce82 update tags to allow for matrix html funnies 2023-03-17 01:42:28 -04:00
murm 0d6e3b349d fixed tags, there are no "guilds" in matrix 2023-03-17 01:19:50 -04:00
murm b4c5885435 tweak tags cmd, try and fail to fix natives 2023-03-17 01:00:59 -04:00
murm c841b53bdd fix owner checks 2023-03-15 10:12:35 -04:00
murm db9b70bf66 initial update 2023-03-15 10:09:09 -04:00
samhza ed25116851
Assorted db changes (#333)
* postgres: use transaction-scoped sql for upgrade

* database: combine fixGuild and addGuild into getGuild

* postgres, sqlite: simplify upgrade()

* allow running commands in DMs without prefix

this functionality was broken in
16095c0256 but is now fixed

* allow running esmBot without a database

Before this change, the only way to run esmBot without a database is to use the
dummy database driver which is broken but fails silently. THis can lead to a
confusing user experience. For instance, using `&command disable` with the
dummy database driver will tell you that the command has been disabled even
though it has not been.

This change adds support for running esmBot with no database driver by leaving
the DB= config option empty, and explicitly telling the user that some
functionality is now unavailable rather than failing silently like the dummy
driver.

* remove dummy database driver
2022-12-12 11:15:10 -06:00
Essem 3ed65c3c86
Update readme, attempt some things, update packages 2022-11-26 13:31:40 -06:00
Essem d7597ee2b0
Port avatar and banner, permission fixes 2022-09-24 12:25:19 -05:00
Essem 49a60bba96
Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -05:00
Essem 888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
Essem db0decf71a
Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -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 02a6e256b5
Added static command field to disable a command in DMs 2022-06-28 16:15:31 -05:00
Essem 93dbadcd0f
Add tag as a slash command 2022-05-01 14:36:52 -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 c821d91254
More slash command work 2022-03-31 14:53:22 -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 6494dcdcb4
Get user info over REST if it's not cached 2021-12-13 17:09:05 -06:00
Essem a91215a0c4
Fix embed style 2021-11-21 23:27:08 -06:00
EarTensifier 49a1d434c7 Allow tags with more than 2000 characters to be displayed in embeds 2021-11-21 20:10:36 -08:00
Essem fae75db44a
Switched to content.embeds 2021-11-09 22:09:10 -06:00
Essem 340ef45b17
Allow for multiple bot owners to be set 2021-11-02 19:43:37 -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 5e8c587c41
Improved tag retrieval, blacklisted a ton of events, fixed skip issue for real 2021-08-14 08:00:16 -05:00
Essem fd573415f1
Remove all references to reactions 2021-08-13 21:36:13 -05:00
Essem 2fbd2e3016
Set tag content limit, fixed new pagination showing buttons on single-page messages 2021-08-13 00:09:30 -05:00
Essem 9f36a79a2b
Added command, reverted database service split 2021-08-12 22:28:09 -05:00
Essem a75ceb41f2
Move tags to separate table 2021-08-10 20:25:29 -05:00
Essem b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00
Essem ef0e1bcf95
Fixed getting users 2021-07-17 18:48:07 -05:00
Essem bbc9e99737
Add tags create as alias for tags add 2021-07-05 20:01:52 -05:00
Essem ecc6d98aec
Added sqlite database support, connect new argument parser to message handler 2021-07-01 23:42:12 -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 364d8bf006 Made command outputs post as replies, fixed status changing on cluster restart, extra stuff 2021-05-11 11:12:01 -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