Commit graph

123 commits

Author SHA1 Message Date
2bd00d7845
Fix restart, slightly stabilize voice leave event 2023-01-28 22:58:51 -06:00
94f34fa40f
setting the bird on fire 2022-12-19 11:34:52 -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
9b6856c54b
Replace more projectlounge.pw references 2022-11-10 23:55:54 -06:00
ede7b65b6a
Fixed stats 2022-11-01 01:41:45 -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
9ce4b470da
missed a spot 2022-10-11 10:51:56 -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
c70f86607f
Fixes for thread channels, voice commands, image handling, and snowflake, update packages 2022-09-27 14:46:07 -05:00
238f44967b
Fix emote, help, and Select Image 2022-09-24 12:58:59 -05:00
d7597ee2b0
Port avatar and banner, permission fixes 2022-09-24 12:25:19 -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
bf90ae108a
info/stats fixes 2022-09-23 17:41: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
121615df63
Replace pg with postgres, add swirl alias, await ping edit, added debug scripts to package.json 2022-09-12 16:45:32 -05:00
20f4849fee
Convert unnecessary async functions 2022-09-10 23:18:44 -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
da6f95aad8
Migrate to undici, try new method for getting image size/type/data 2022-08-11 11:46:56 -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
81ff5ae0ab
Move config files to new directory 2022-07-26 10:38:42 -05:00
398ce07bd2
Improve voice connection checking, take advantage of optional chaining operators 2022-07-23 16:02:04 -05:00
df43f9eb9d
Added more node name fallbacks, move slash command acknowledge to beginning of image command 2022-07-22 20:03:36 -05:00
66fcd3fe12
Fix command, update docs 2022-07-06 19:16:38 -05:00
02a6e256b5
Added static command field to disable a command in DMs 2022-06-28 16:15:31 -05:00
551c7294b5
Some tweaks 2022-06-25 12:45:42 -05:00
df91afee1f
Replace all instances of this.specialArgs with this.options, update docs 2022-06-24 22:03:34 -05:00
9ff41267e9
Change method of getting owner in stats 2022-06-24 16:30:50 -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
6e6dfb4887
Add new messages, add count alias, update packages 2022-06-09 15:17:33 -05:00
4ac90bc761
Begin the purge 2022-06-07 22:14:16 -05:00
b5ed2cc62a
Fix avatar and banner 2022-06-07 18:26:50 -05:00
6b34cb9d9e
Remove delay parameter, change argument handling, make help command show proper flag types 2022-06-07 18:26:40 -05:00
73a2fd9856
Fixed emote classic command 2022-04-23 18:41:05 -05:00
6bf0537c29
Add initial Azure Functions support, clean up gitignore 2022-04-17 10:40:56 -05:00
dd7bd6b4cc
Some music fixes, merge decode and encode into a single command 2022-04-10 11:20:52 -05:00
a91c73b5bd
More slash commands, rework soundboard commands, added generic music and soundboard commands, tweak speechbubble 2022-04-04 22:05:28 -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
a438fe26df
Add fallback for message checking, add link to privacy policy in info 2022-03-19 23:22:35 -05:00
57cd37d1eb
Improve running the bot in a global context 2022-03-11 20:28:35 -06:00
7248621048
Specify that image commands also work on GIFs 2022-01-26 12:53:20 -06:00
76fe5b6aa6
Added banner, added host 2022-01-18 13:05:39 -06:00
e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00