mrmBot-Matrix/events
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
..
debug.js Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -05:00
error.js Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -05:00
guildDelete.js Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -05:00
interactionCreate.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
messageCreate.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
ready.js Fix standalone mode 2022-11-02 20:24:13 -05:00
shardReady.js Attempt to fix sound player disconnect issue 2022-10-24 22:03:57 -05:00
voiceChannelLeave.js Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -05:00
voiceChannelSwitch.js Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -05:00
warn.js Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -05:00