Commit graph

80 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
345b525188
Properly ack Select Image requests, add client key to Tenor request, update packages 2022-12-12 11:07:58 -06:00
c3b97c121e
Properly detect PM2 manager process instead of using a hardcoded ID 2022-10-30 23:16:03 -05:00
jonah
c5bf373a43
Request GUILDS intent even if not in classic mode (#317)
* request guild intent even if not classic mode

* fix formatting
2022-10-11 19:23:27 +00:00
e5fd71b388
Remove "requires" command field, overhaul Lavalink connection, fix message objects not being properly sent 2022-10-11 10:46:10 -05:00
4309f358e7
Fix command count table not being properly registered 2022-10-10 17:23:16 -05:00
ab2d6e2ef0
Implement pm2 shard management 2022-10-04 12:10:06 -05:00
b9f1ccc39e
Fix lavalink connection init 2022-10-01 12:51:57 -05:00
a50c86a0e2
Split ready event into dedicated event file, made some changes to init 2022-09-28 23:38:19 -05:00
cee458cef1
Fix sqlite guild registration, fix starting status 2022-09-28 23:11:05 -05:00
b636fe9ebe
Fix ASCII art 2022-09-28 20:40:16 -05:00
888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -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
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
d33a7804d7
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
7c1cbbc54b
Don't start prometheus service if disabled 2022-08-25 10:36:44 -05:00
d4e36410ce
Disable concurrency in eris-fleet in favor of the eris implementation 2022-08-13 12:40:22 -05:00
4265e3e914
Make log files rotate, clean up separated text input, add more uncanny images, use a more reliable method to get the instance owner username 2022-08-03 20:54:07 -05:00
1713387ffd
Store directory size cache inside eris-fleet central store 2022-07-19 23:27:43 -05:00
1948c32277
Make THRESHOLD functionality more aggressive 2022-07-17 12:46:52 -05:00
5106b3f21f
Re-enable all disabled events, move back to Eris stable 2022-06-14 22:58:25 -05:00
80d4204538
A few threshold tweaks 2022-06-11 14:30:04 -05:00
242f81f721
Merge branch 'master' of https://github.com/bjcscat/esmBot into bjcscat-master 2022-06-09 21:26:23 -05:00
6e6dfb4887
Add new messages, add count alias, update packages 2022-06-09 15:17:33 -05:00
2cffdf6628
Lots of slash command work, added workaround for eris-fleet request debugging 2022-03-31 00:42:03 -05:00
52e038c88e
Improve message checking, enable central request handler 2022-03-17 14:28:35 -05:00
57cd37d1eb
Improve running the bot in a global context 2022-03-11 20:28:35 -06:00
bjcscat
c3793203e3 recursive instead of using du utility 2022-03-10 21:24:24 +00:00
3ffb7f4949
Fixed pagination jump limit, fixed debug logging 2022-03-10 14:24:03 -06:00
27215598f9
Try this a different way 2022-02-22 09:20:52 -06:00
bc9eb12b5a
Move database migration, removed guild modified times, added XM plugin to lavalink config 2022-02-21 18:55:25 -06:00
55f6271cd9
Fix running the bot outside of Git 2022-02-18 10:39:40 -06:00
5da6207f8a
Moved image require to service 2022-01-29 15:08:27 -06:00
6aa1bf7ff6
Some image fixes, updated packages 2022-01-29 15:04:41 -06:00
776043393d
Don't disable THREAD_LIST_SYNC event 2022-01-25 15:16:08 -06:00
e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00
6802c52316
Disable central request handler until it's fixed 2022-01-07 12:20:45 -06:00
fd77ace48e
Added node version check, some cleanup 2022-01-07 11:44:18 -06:00
stupid cat
5db8873807
allow THREAD_CREATE event (#203) 2021-12-16 12:55:41 -06:00
6494dcdcb4
Get user info over REST if it's not cached 2021-12-13 17:09:05 -06:00
536b931ead
Updated packages, take advantage of new eris-fleet features, fixed issue where messages wouldn't send 2021-11-12 17:21:43 -06:00
f5a0fa5f7c
Catch image load warnings, set message limit to 50, don't crash the bot if .git is missing 2021-10-23 13:58:19 -05:00
abfbfe14fe
Added commit hash to info/stats, point readme/info to steel's current twitter 2021-09-16 21:37:36 -05:00
531d7915bb
Removed some disabled events, filter out more data URIs 2021-08-27 21:38:33 -05:00
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
382480e1c7
Fixed issue with pagination message 2021-08-14 16:15:21 -05:00
5e8c587c41
Improved tag retrieval, blacklisted a ton of events, fixed skip issue for real 2021-08-14 08:00:16 -05:00
fd573415f1
Remove all references to reactions 2021-08-13 21:36:13 -05:00
9f36a79a2b
Added command, reverted database service split 2021-08-12 22:28:09 -05:00
b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00