Commit graph

23 commits

Author SHA1 Message Date
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
9b6856c54b
Replace more projectlounge.pw references 2022-11-10 23:55:54 -06:00
238f44967b
Fix emote, help, and Select Image 2022-09-24 12:58:59 -05:00
49a60bba96
Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -05:00
888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
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
6b34cb9d9e
Remove delay parameter, change argument handling, make help command show proper flag types 2022-06-07 18:26:40 -05:00
c821d91254
More slash command work 2022-03-31 14:53:22 -05:00
2cffdf6628
Lots of slash command work, added workaround for eris-fleet request debugging 2022-03-31 00:42:03 -05:00
e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00
fae75db44a
Switched to content.embeds 2021-11-09 22:09:10 -06:00
963d5247f6
Added check to make sure help list isn't generated multiple times 2021-09-16 15:34:46 -05:00
7009ff339f
Fixed help not working with page generator disabled 2021-08-19 16:49:58 -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
fd573415f1
Remove all references to reactions 2021-08-13 21:36:13 -05:00
9f36a79a2b
Added command, reverted database service split 2021-08-12 22:28:09 -05:00
b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00
f77def1c0e
Added permission check to help, increase image safesearch level 2021-07-26 14:43:10 -05:00
7f0f2fb789
Replaced raw date text with Discord formatted dates, added flag info to help, added note to cat 2021-07-23 11:13:43 -05:00
e5d9388952 Added command counts to Prometheus metrics 2021-05-03 08:49:55 -05:00
e0e0c9c7d4 More hotfixing 2021-04-29 19:03:03 -05:00
51e06c256a Some fixes 2021-04-12 16:54:44 -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