Commit graph

30 commits

Author SHA1 Message Date
21e0914268
Fix typo in custom commands docs 2023-01-07 18:40:10 -06: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
samhza
c00d518f6e
simplify postgres and sqlite database initialization, remove psqlinit.sh (#331)
Before this change, uninitialized databases would be initialized with the old
schema and then migrated to the latest version. After this change, unintialized
databases are initizialized with the latest database schema immediately, without
having to run any of the migrations. This change has no effect on existing
databases.

Before this change, Postgres database initialization was done manually using
utils/psqlinit.sh. This is inconsistent with SQLite, which the bot initializes
itself. It also requires shell access to the server running the Postgres
instance, which means it cannot be used on managed Postgres instances. After
this change, the bot initializes Postgres databases as it does with SQLite, and
utils/psqlinit.sh has been removed as it is now unecessary.
2022-11-26 15:31:00 -06:00
1830db6282
Remove Top.gg integration 2022-11-26 15:27:59 -06:00
9b6856c54b
Replace more projectlounge.pw references 2022-11-10 23:55:54 -06:00
a317b90207
Change links to point to new site, reduce filesize of logo 2022-11-10 23:15:38 -06:00
341f89cda5
Some updates to the setup docs 2022-10-30 01:40:47 -05:00
006ce416aa
never writing configs again i swear to god 2022-10-10 01:15:14 -05:00
0a63b3b7be
Change support channel name 2022-10-09 15:25:44 -05:00
638b5512f1
Mention Docker in setup docs 2022-09-28 19:55:47 -05:00
888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -05:00
4f66519aa7
Load fonts directly from assets directory, fix image buffer issues 2022-09-22 23:44:54 -05:00
273e5b94d7
Merge branch 'pm2' 2022-09-22 19:52:58 -05:00
dx9er
a2c7f0185d
Add instructions on PostgreSQL script execution in docs (#315) 2022-09-21 05:09:21 +00: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
f4ad285e74
Reduce filesize of permissions image [skip ci] 2022-09-09 14:56:12 -05:00
e474d838b0
Allow classic commands in DMs even when disabled, add channel name to music end message, better check for API_TYPE, update docs 2022-09-09 14:55:03 -05:00
28c61213f2
Some docker-compose fixes 2022-09-06 16:00:02 -05:00
603e732704
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
3477f5c39f
Changed Lavalink download command in docs 2022-08-31 23:49:21 -05:00
1cafef76d7
Added nowplaying alias, update lava-xm-plugin, only require natives when processing images locally, reimplement cache limit 2022-08-22 12:44:25 -05:00
e3d41db178
Add mkdocs action 2022-07-26 13:57:18 -05:00
c72bb7baa1
Setup mkdocs 2022-07-26 13:48:37 -05:00
3670a3858e
Ensure compatibility with both Fedora and RHEL in docs 2022-07-26 00:38:35 -05:00
a18e7dcb0e
Add Fedora/RHEL instructions to the docs 2022-07-26 00:12:00 -05:00
e5281a1d90
Some more tweaks to the docs 2022-07-07 11:22:23 -05:00
teo0781
6a321fe052
Update setup.md (#294)
Add pnpm troubleshooting step if you don't have node-gyp installed & also add pnpm run build to the instructions.
2022-07-07 11:19:54 -05:00
02a6e256b5
Added static command field to disable a command in DMs 2022-06-28 16:15:31 -05:00
df91afee1f
Replace all instances of this.specialArgs with this.options, update docs 2022-06-24 22:03:34 -05:00
d469d36a59
Move wiki inside repo 2022-06-24 18:04:05 -05:00