14d5965caa
god dammit
2022-12-12 11:36:08 -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
3662a2e51d
Refactor message prefix handling, lessen reliance on member caching, fix adding guilds in postgresql
2022-10-23 20:27:32 -05:00
e5fd71b388
Remove "requires" command field, overhaul Lavalink connection, fix message objects not being properly sent
2022-10-11 10:46:10 -05:00
cfb5cb506f
Properly log Lavalink connection errors, fix large file fallback message, actions changes
2022-10-02 13:28:43 -05:00
6b1b2e1c5e
Fix indent
2022-09-28 13:32:13 -05:00
c70f86607f
Fixes for thread channels, voice commands, image handling, and snowflake, update packages
2022-09-27 14:46:07 -05:00
888f2f8b4a
Initial Oceanic port (still unfinished), update packages, remove serverinfo and userinfo
2022-09-23 22:25:16 -05:00
7a88f6b693
Fix emoji font stack, change sonic font, fix job ID not being sent on jobs that don't require image input, some error handling fixes
2022-09-23 17:24:28 -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
20f4849fee
Convert unnecessary async functions
2022-09-10 23:18:44 -05:00
0135717854
Another try at error logging
2022-07-22 18:50:40 -05:00
1713387ffd
Store directory size cache inside eris-fleet central store
2022-07-19 23:27:43 -05:00
36477ed253
Refactor/unify temp image handling
2022-07-18 17:05:01 -05:00
1948c32277
Make THRESHOLD functionality more aggressive
2022-07-17 12:46:52 -05:00
02a6e256b5
Added static command field to disable a command in DMs
2022-06-28 16:15:31 -05:00
8536c4b968
Better error logging, update playing messages
2022-06-28 08:16:57 -05:00
IoIxD
16095c0256
Prefix shouldn't be null ever, let alone when message.channel.guild isn't defined. ( #276 )
...
* '/eval 9+10' returns 21
* undid 9+10 joke, fixed prefix bug
* nope that's not how it was
* fully undid 9+10 joke oops
2022-06-14 00:03:18 -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
2cffdf6628
Lots of slash command work, added workaround for eris-fleet request debugging
2022-03-31 00:42:03 -05:00
f996180fa9
Slash command preparations
2022-03-22 15:43:26 -05:00
9e64dfa3c3
Fix mention prefix bug
2022-03-19 23:20:42 -05:00
bjcscat
c3793203e3
recursive instead of using du utility
2022-03-10 21:24:24 +00:00
d00bc32b01
Properly catch large images
2022-02-23 15:51:20 -06:00
bc9eb12b5a
Move database migration, removed guild modified times, added XM plugin to lavalink config
2022-02-21 18:55:25 -06:00
c8172ca062
Don't update access time if not run in a guild
2022-02-19 11:47:24 -06:00
c568423870
Added support for database updates/migration, added guild access timestamps
2022-02-18 23:05:41 -06:00
dd5df2402c
More null type check improvements
2022-01-16 14:27:59 -06:00
e1cfbff5a8
Improved pagination, empty value checks, and bigints
2022-01-14 23:26:38 -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
fae75db44a
Switched to content.embeds
2021-11-09 22:09:10 -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
ab3ae7b9c6
Adapt max image file size to server boost tier, fixes #165
2021-10-15 11:05:58 -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
516570efe4
Add timeouts to many projectlounge requests, fixed command bug
2021-08-18 08:07:55 -05:00
a75c55a1ca
Fixed disabled commands on SQLite
2021-08-13 14:24:26 -05:00
9f36a79a2b
Added command, reverted database service split
2021-08-12 22:28:09 -05:00
da709c485f
Make pagination use interactions instead of reactions, filter out base64 images in image
2021-08-12 18:45:17 -05:00
b2c7a43baa
Convert database handler into service, fix skip issue with sound player
2021-08-10 16:34:29 -05:00
9a1fd3b6f3
Removed unnecessary checks at beginning of messageCreate
2021-08-09 19:09:32 -05:00
4dc1b9f5a9
Removed link from image title, handle undefined guilds
2021-08-09 11:12:47 -05:00
b6f28ece76
Temprarily disable reply on pagination, made a small optimization to prefix handler
2021-08-07 15:28:39 -05:00
e4e633beff
Allow owner to use music commands in production, make cache request to 8MB images
2021-08-06 12:03:44 -05:00
77ca0fd344
Improved error handling
2021-07-31 13:36:00 -05:00
299663adf8
Port to eris-fleet
2021-07-04 23:15:27 -05:00
ecc6d98aec
Added sqlite database support, connect new argument parser to message handler
2021-07-01 23:42:12 -05:00
0fbc165154
Delete unfinished jobs on connection close
2021-06-27 17:06:52 -05:00
a0a32c31b9
Switched image API from raw TCP to websockets, removed selective image reading code
2021-06-18 00:10:11 -05:00
bd221d5909
Make command error logs more verbose, image server connection/job error handling changes
2021-06-01 20:27:28 -05:00