Commit Graph

26 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 bc9eb12b5a
Move database migration, removed guild modified times, added XM plugin to lavalink config 2022-02-21 18:55:25 -06:00
Essem ae2ebe0337
Port to ESM modules (haha funny), removed cache request, many other changes that I forgot about 2021-08-19 09:19:14 -05:00
Essem 9f36a79a2b
Added command, reverted database service split 2021-08-12 22:28:09 -05:00
Essem b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00
TheEssem 4cdd59dfcd
Made youtube use searx for results, fall back to dummy db when none is specified, added cluster to stats, more QOL changes 2021-06-26 15:56:02 -05:00
TheEssem cc82d32840 Fixed slow, changed clean to handle all env variables, changed database handling 2021-04-14 16:37:40 -05:00
TheEssem 5fa5f21289 Moved database driver-specific code to their own files 2020-12-18 18:50:25 -06:00
TheEssem d47c7cacbb Changed DB config settings 2020-12-18 16:05:43 -06:00
TheEssem 3594c4d353 Added proper config options for PostgreSQL 2020-12-18 15:42:34 -06:00
TheEssem ef945adf09 Added support for using both MongoDB and PostgreSQL, changed image api timeouts, removed all moderation commands 2020-12-17 20:32:19 -06:00
TheEssem e0d7ea7a57 Added ability to disable tags for a server, added way to remove warnings 2020-09-03 14:26:39 -05:00
TheEssem 6eee7c6058 Moved back to MongoDB, added some extra flags to flag 2020-07-26 19:52:13 -05:00
TheEssem 2a67b76169 Migrated database to PostgreSQL, updated packages 2020-07-10 12:07:24 -05:00
TheEssem 56faea8d59 Adjusted flag sizing some more, removed fortnite, added some database connection args 2020-06-26 09:36:03 -05:00
TheEssem c65a8115aa Added count, added some new playing lines, fixed security issue with hackban 2020-04-26 16:55:33 -05:00
TheEssem 628a002205 Added channel, allow using a mention on hackban and snowflake 2020-04-09 21:40:52 -05:00
TheEssem 903130dce1 Added warn 2020-02-27 09:49:32 -06:00
TheEssem 903f5eebf0 Removed XP system, fixed a few more bugs 2019-12-16 12:13:38 -06:00
TheEssem 0920c459d5 Improved twitter bot a bit more, replaced all indexOf checks, fixed xp message bug 2019-11-23 17:23:28 -06:00
TheEssem e1347fcf52 Added proper license, removed unused stuff, more twitter bot work 2019-11-17 19:57:12 -06:00
TheEssem d661b58271 Added leak and exec, moved from a config.json file to a .env file, other changes 2019-11-12 18:09:06 -06:00
TheEssem 171253c52c Added snowflake and experimental xp system, made logger easier to use 2019-11-05 09:52:46 -06:00
TheEssem 606c1ea1dc Moved from Enmap/SQLite to MongoDB 2019-10-28 15:21:06 -05:00
TheEssem c33a86eb4c Initial commit 2019-09-13 15:02:41 -05:00