Commit graph

184 commits

Author SHA1 Message Date
murm
492cdba631 fix error logging 2023-03-15 10:42:13 -04:00
murm
db9b70bf66 initial update 2023-03-15 10:09:09 -04:00
d36ff74326
why did it take me 3 goddamn months to realize this was missing 2023-03-09 10:10:52 -06:00
2bd00d7845
Fix restart, slightly stabilize voice leave event 2023-01-28 22:58:51 -06:00
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
3ed65c3c86
Update readme, attempt some things, update packages 2022-11-26 13:31:40 -06:00
3795c85a7d
Fix standalone mode 2022-11-02 20:24:13 -05:00
b098499c67
oh god help 2022-10-31 12:49:19 -05:00
5d679dbb7a
Make broadcasts persistent, fix Postgres database upgrades, fix image slash commands with text not working in DMs 2022-10-25 12:37:55 -05:00
5d8ecbf90a
Attempt to fix sound player disconnect issue 2022-10-24 22:03:57 -05: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
7c9f22cd34
Fix interaction response object issue, fix soundplayer voice state detection 2022-10-04 13:23:23 -05:00
cfb5cb506f
Properly log Lavalink connection errors, fix large file fallback message, actions changes 2022-10-02 13:28:43 -05:00
b9f1ccc39e
Fix lavalink connection init 2022-10-01 12:51:57 -05:00
f781fb1ae5
Fix ready event running multiple times 2022-10-01 12:02:18 -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
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
49a60bba96
Fix some permission checks, fix avatar URLs 2022-09-23 23:50:59 -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
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
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
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
3392c3c89e
Improve VC leave handling, host now lets you get the current session host, swapped skip/sticker alias, updated xm plugin 2022-08-27 13:27:42 -05:00
398ce07bd2
Improve voice connection checking, take advantage of optional chaining operators 2022-07-23 16:02:04 -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
93fa8e8098
Fix slash command "link" field not working with gifvs, update packages 2022-07-19 21:06:51 -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
0da673975b
Fix a couple of sound player bugs 2022-06-28 20:36:32 -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
10becff3a0
Replace Lavalink wrapper, migrate to pnpm, add ko-fi sponsor link 2022-06-14 00:38:01 -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
c821d91254
More slash command work 2022-03-31 14:53:22 -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
52e038c88e
Improve message checking, enable central request handler 2022-03-17 14:28:35 -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