mrmBot-Matrix/utils
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
..
database Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
pagination Fix PostgreSQL broadcast column upgrade, make some changes to followup message handling 2022-10-30 00:17:36 -05:00
pm2 Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
awaitrejoin.js Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -05:00
collections.js 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
convertpg.js Port to ESM modules (haha funny), removed cache request, many other changes that I forgot about 2021-08-19 09:19:14 -05:00
database.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
handler.js Remove "requires" command field, overhaul Lavalink connection, fix message objects not being properly sent 2022-10-11 10:46:10 -05:00
help.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
image-runner.js Partial natives rework (#325) 2022-11-27 13:03:07 -06:00
image.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
imageConnection.js Load fonts directly from assets directory, fix image buffer issues 2022-09-22 23:44:54 -05:00
imagedetect.js Properly ack Select Image requests, add client key to Tenor request, update packages 2022-12-12 11:07:58 -06:00
logger.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
misc.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
parseCommand.js Make the em dash (—) also work when using options (#160) 2021-09-21 22:05:27 -05:00
soundplayer.js Update readme, attempt some things, update packages 2022-11-26 13:31:40 -06:00
tempimages.js Fixes for thread channels, voice commands, image handling, and snowflake, update packages 2022-09-27 14:46:07 -05:00
urlcheck.js Port to ESM modules (haha funny), removed cache request, many other changes that I forgot about 2021-08-19 09:19:14 -05:00
wrap.js Port to ESM modules (haha funny), removed cache request, many other changes that I forgot about 2021-08-19 09:19:14 -05:00