mrmBot-Matrix/commands/general
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
..
avatar.js Port avatar and banner, permission fixes 2022-09-24 12:25:19 -05:00
banner.js Port avatar and banner, permission fixes 2022-09-24 12:25:19 -05:00
base64.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
broadcast.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
channel.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
command.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
count.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
donate.js Migrate to undici, try new method for getting image size/type/data 2022-08-11 11:46:56 -05:00
emote.js Fix emote, help, and Select Image 2022-09-24 12:58:59 -05:00
eval.js Convert unnecessary async functions 2022-09-10 23:18:44 -05:00
exec.js Remove creation date from mkdocs, added ability to limit owner commands to certain server, don't append help command to end of playing message if classic commands are disabled, fix interaction upload size 2022-09-01 10:40:55 -05:00
help.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
image.js Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -05:00
imagereload.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
imagestats.js Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -05:00
info.js Update readme, attempt some things, update packages 2022-11-26 13:31:40 -06:00
lengthen.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
ping.js Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
prefix.js Assorted db changes (#333) 2022-12-12 11:15:10 -06:00
qrcreate.js Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
qrread.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
raw.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
reload.js missed a spot 2022-10-11 10:51:56 -05:00
restart.js Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
snowflake.js Fixes for thread channels, voice commands, image handling, and snowflake, update packages 2022-09-27 14:46:07 -05:00
soundreload.js Remove "requires" command field, overhaul Lavalink connection, fix message objects not being properly sent 2022-10-11 10:46:10 -05:00
stats.js Fixed stats 2022-11-01 01:41:45 -05:00
sticker.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
youtube.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