Commit graph

975 commits

Author SHA1 Message Date
3c16599126
Deduplicate vips shutdown, reformat natives, remove soos alias 2022-12-28 17:01:50 -06:00
5d8974d177
Added bounce 2022-12-28 14:24:22 -06:00
89caa43068
how the hell did I manage to miss squish 2022-12-28 00:49:38 -06:00
47b2d9fcff
Finish converting natives 2022-12-28 00:20:17 -06:00
e1a31d6ddc
Portablized more natives 2022-12-26 00:28:56 -06:00
a01e2ae77b
Fix sepia 2022-12-21 22:40:17 -06:00
94f34fa40f
setting the bird on fire 2022-12-19 11:34:52 -06:00
5a4553e17c
Fix comma escape 2022-12-18 19:19:53 -06:00
60cac58043
Convert freeze and speed 2022-12-12 12:13:03 -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
345b525188
Properly ack Select Image requests, add client key to Tenor request, update packages 2022-12-12 11:07:58 -06:00
schizowitagun
b9d38bc2bb
Updated lavasrc-plugin to 3.1.7 (#334)
This prevents LavaLink from instantly crashing during startup due to it not being able to retrieve version 3.0.3 successfully anymore.
2022-12-03 13:49:44 -06:00
bjcscat
1037e8a9a0
use new typing and functions for more "safety" (#332) 2022-12-03 13:49:28 -06:00
9ddc32193f
Swap std::any for std::variant 2022-11-27 17:23:57 -06:00
7ee571dd2b
Some fixes and whatnot 2022-11-27 14:52:40 -06:00
bjcscat
330dd67063
Partial natives rework (#325)
* natve code reworking

* Whoops

* remove old code

* Make gc callback instead of do thing that causes segfault
2022-11-27 13:03:07 -06:00
a6823e7724
Swap out diffuse image for brighter version 2022-11-26 17:45:32 -06:00
samhza
c00d518f6e
simplify postgres and sqlite database initialization, remove psqlinit.sh (#331)
Before this change, uninitialized databases would be initialized with the old
schema and then migrated to the latest version. After this change, unintialized
databases are initizialized with the latest database schema immediately, without
having to run any of the migrations. This change has no effect on existing
databases.

Before this change, Postgres database initialization was done manually using
utils/psqlinit.sh. This is inconsistent with SQLite, which the bot initializes
itself. It also requires shell access to the server running the Postgres
instance, which means it cannot be used on managed Postgres instances. After
this change, the bot initializes Postgres databases as it does with SQLite, and
utils/psqlinit.sh has been removed as it is now unecessary.
2022-11-26 15:31:00 -06:00
1830db6282
Remove Top.gg integration 2022-11-26 15:27:59 -06:00
3ed65c3c86
Update readme, attempt some things, update packages 2022-11-26 13:31:40 -06:00
teo0781
ed8ec36136
Fix speechbubble (#326) 2022-11-11 16:48:39 -06:00
ca2ad80a33
Update packages 2022-11-11 15:08:32 -06:00
90e2ee1e9f
this should *actually* work 2022-11-11 12:31:21 -06:00
ae929b922e
(Hopefully) fix Linux actions 2022-11-11 09:59:04 -06:00
398021de64
please email the esmbot domain instead 2022-11-11 00:23:07 -06:00
9b6856c54b
Replace more projectlounge.pw references 2022-11-10 23:55:54 -06:00
6f35578451
Merge branch 'master' of github.com:esmBot/esmBot 2022-11-10 23:15:44 -06:00
a317b90207
Change links to point to new site, reduce filesize of logo 2022-11-10 23:15:38 -06:00
samhza
a3e3e4248c
fix mac build (#324)
* only run docs CI when docs change

* remove broken windows CI, fix mac build
2022-11-03 16:48:51 -05:00
3795c85a7d
Fix standalone mode 2022-11-02 20:24:13 -05:00
ede7b65b6a
Fixed stats 2022-11-01 01:41:45 -05:00
21f3047ad4
please work god dammit 2022-10-31 13:09:21 -05:00
b098499c67
oh god help 2022-10-31 12:49:19 -05:00
5281cb1fd7
v1.9.0 2022-10-31 12:02:51 -05:00
fb89ffbba3
Update packages 2022-10-31 10:56:02 -05:00
c3b97c121e
Properly detect PM2 manager process instead of using a hardcoded ID 2022-10-30 23:16:03 -05:00
341f89cda5
Some updates to the setup docs 2022-10-30 01:40:47 -05:00
fa3d7b3772
Fix PostgreSQL broadcast column upgrade, make some changes to followup message handling 2022-10-30 00:17:36 -05:00
a67c2b9884
sqlite multi-statement upgrade fix 2022-10-25 15:38:20 -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
089b750838
Remove unnecessary guild check from host 2022-10-25 11:57:15 -05:00
5d8ecbf90a
Attempt to fix sound player disconnect issue 2022-10-24 22:03:57 -05:00
8144a7a115
Fix image slash commands with text input 2022-10-24 17:12:10 -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
a78df6fce7
Update packages 2022-10-23 14:55:06 -05:00
6fdc345f47
Fix imagedetect on a single reply message 2022-10-12 22:23:16 -05:00
0c08422555
Add connection checks for music commands, add a couple more messages, update packages 2022-10-11 22:36:45 -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
9ce4b470da
missed a spot 2022-10-11 10:51:56 -05:00