Commit graph

9 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
1830db6282
Remove Top.gg integration 2022-11-26 15:27:59 -06:00
ede7b65b6a
Fixed stats 2022-11-01 01:41:45 -05:00
21f3047ad4
please work god dammit 2022-10-31 13:09:21 -05:00
b098499c67
oh god help 2022-10-31 12:49:19 -05:00
ab2d6e2ef0
Implement pm2 shard management 2022-10-04 12:10:06 -05:00
4d3e34cd8f
Fix stat counts 2022-09-21 11:31:39 -05:00
113f790888
Move Prometheus metrics 2022-09-21 10:18:59 -05:00
db0decf71a
Replace eris-fleet with a pm2-based cluster system, overhaul image handling, removed azure image api 2022-09-21 00:05:03 -05:00