Commit Graph

10 Commits

Author SHA1 Message Date
murm db9b70bf66 initial update 2023-03-15 10:09:09 -04:00
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
Essem 1830db6282
Remove Top.gg integration 2022-11-26 15:27:59 -06:00
Essem ede7b65b6a
Fixed stats 2022-11-01 01:41:45 -05:00
Essem 21f3047ad4
please work god dammit 2022-10-31 13:09:21 -05:00
Essem b098499c67
oh god help 2022-10-31 12:49:19 -05:00
Essem ab2d6e2ef0
Implement pm2 shard management 2022-10-04 12:10:06 -05:00
Essem 4d3e34cd8f
Fix stat counts 2022-09-21 11:31:39 -05:00
Essem 113f790888
Move Prometheus metrics 2022-09-21 10:18:59 -05:00
Essem 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