Commit Graph

88 Commits

Author SHA1 Message Date
murm 513efc4436 cleanup 2023-03-22 04:49:03 -04:00
murm 9539ea32cd remove paginator, it is extremely discord-specific 2023-03-19 06:42:07 -04:00
murm ff7f0a3110 Natives Rework (Thank you Essem)
Co-authored-by: Essem <TheEssem@users.noreply.github.com>
2023-03-19 04:40:32 -04:00
murm 0b4188f214 clean up commented code in app.js 2023-03-18 20:29:22 -04:00
murm 0042656bff Add auto-join 2023-03-18 20:27:11 -04:00
murm 3957b17645 allow imagedetect to pull from room history 2023-03-16 11:32:14 -04:00
murm 46bcb947e9 tweak sync limit 2023-03-15 10:53:18 -04:00
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 345b525188
Properly ack Select Image requests, add client key to Tenor request, update packages 2022-12-12 11:07:58 -06:00
Essem 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
Essem e5fd71b388
Remove "requires" command field, overhaul Lavalink connection, fix message objects not being properly sent 2022-10-11 10:46:10 -05:00
Essem 4309f358e7
Fix command count table not being properly registered 2022-10-10 17:23:16 -05:00
Essem ab2d6e2ef0
Implement pm2 shard management 2022-10-04 12:10:06 -05:00
Essem b9f1ccc39e
Fix lavalink connection init 2022-10-01 12:51:57 -05:00
Essem a50c86a0e2
Split ready event into dedicated event file, made some changes to init 2022-09-28 23:38:19 -05:00
Essem cee458cef1
Fix sqlite guild registration, fix starting status 2022-09-28 23:11:05 -05:00
Essem b636fe9ebe
Fix ASCII art 2022-09-28 20:40:16 -05:00
Essem 888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo 2022-09-23 22:25:16 -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
Essem 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
Essem 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
Essem 7c1cbbc54b
Don't start prometheus service if disabled 2022-08-25 10:36:44 -05:00
Essem d4e36410ce
Disable concurrency in eris-fleet in favor of the eris implementation 2022-08-13 12:40:22 -05:00
Essem 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
Essem 1713387ffd
Store directory size cache inside eris-fleet central store 2022-07-19 23:27:43 -05:00
Essem 1948c32277
Make THRESHOLD functionality more aggressive 2022-07-17 12:46:52 -05:00
Essem 5106b3f21f
Re-enable all disabled events, move back to Eris stable 2022-06-14 22:58:25 -05:00
Essem 80d4204538
A few threshold tweaks 2022-06-11 14:30:04 -05:00
Essem 242f81f721
Merge branch 'master' of https://github.com/bjcscat/esmBot into bjcscat-master 2022-06-09 21:26:23 -05:00
Essem 6e6dfb4887
Add new messages, add count alias, update packages 2022-06-09 15:17:33 -05:00
Essem 2cffdf6628
Lots of slash command work, added workaround for eris-fleet request debugging 2022-03-31 00:42:03 -05:00
Essem 52e038c88e
Improve message checking, enable central request handler 2022-03-17 14:28:35 -05:00
Essem 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
Essem 3ffb7f4949
Fixed pagination jump limit, fixed debug logging 2022-03-10 14:24:03 -06:00
Essem 27215598f9
Try this a different way 2022-02-22 09:20:52 -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 55f6271cd9
Fix running the bot outside of Git 2022-02-18 10:39:40 -06:00
Essem 5da6207f8a
Moved image require to service 2022-01-29 15:08:27 -06:00
Essem 6aa1bf7ff6
Some image fixes, updated packages 2022-01-29 15:04:41 -06:00
Essem 776043393d
Don't disable THREAD_LIST_SYNC event 2022-01-25 15:16:08 -06:00
Essem e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00
Essem 6802c52316
Disable central request handler until it's fixed 2022-01-07 12:20:45 -06:00
Essem 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
Essem 6494dcdcb4
Get user info over REST if it's not cached 2021-12-13 17:09:05 -06:00
Essem 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
Essem 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