mrmBot-Matrix/commands
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
..
fun Fix image slash commands with text input 2022-10-24 17:12:10 -05:00
general Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
image-editing Fix speechbubble (#326) 2022-11-11 16:48:39 -06:00
message Properly ack Select Image requests, add client key to Tenor request, update packages 2022-12-12 11:07:58 -06:00
music Update readme, attempt some things, update packages 2022-11-26 13:31:40 -06:00
soundboard Remove "requires" command field, overhaul Lavalink connection, fix message objects not being properly sent 2022-10-11 10:46:10 -05:00
tags Assorted db changes (#333) 2022-12-12 11:15:10 -06:00