Commit graph

108 commits

Author SHA1 Message Date
2a22c73654 Made image detection start with replies 2021-04-19 22:06:40 -05:00
40223ec8b5
Class commands, improved sharding, and many other changes (#88)
* Load commands recursively

* Sort commands

* Missed a couple of spots

* missed even more spots apparently

* Ported commands in "fun" category to new class-based format, added babel eslint plugin

* Ported general commands, removed old/unneeded stuff, replaced moment with day, many more fixes I lost track of

* Missed a spot

* Removed unnecessary abort-controller package, add deprecation warning for mongo database

* Added imagereload, clarified premature end message

* Fixed docker-compose path issue, added total bot uptime to stats, more fixes for various parts

* Converted image commands into classes, fixed reload, ignore another WS event, cleaned up command handler and image runner

* Converted music/soundboard commands to class format

* Cleanup unnecessary logs

* awful tag command class port

* I literally somehow just learned that you can leave out the constructor in classes

* Pass client directly to commands/events, cleaned up command handler

* Migrated bot to eris-sharder, fixed some error handling stuff

* Remove unused modules

* Fixed type returning

* Switched back to Eris stable

* Some fixes and cleanup

* might wanna correct this

* Implement image command ratelimiting

* Added Bot token prefix, added imagestats, added running endpoint to API
2021-04-12 11:16:12 -05:00
ff8a24d0e8 Switched back to Eris dev channel to prevent logspam 2021-04-01 09:09:59 -05:00
2d5eef2c8c Replaced retro with New And Improved™ variant 2021-03-31 21:04:58 -05:00
5d2e2b5274 Upgraded retrotext and DBL posting packages, fixed mention prefixes and DM commands 2021-03-18 09:29:03 -05:00
03aa3b3a2b Removed Twitter bot 2021-03-08 10:37:43 -06:00
2499fb2a3b Don't rely on lavacord eris helper package, another pagination fix attempt, make cowsay use a different lib 2021-03-05 12:06:22 -06:00
443da54298 Updated to Eris 0.14, removed spam, removed unused font 2021-01-27 22:57:13 -06:00
dd114e27b5 Added more activity messages, updated packages, allow any public Lavalink instance to be used via the "local" parameter, added clearer error message for API timeouts 2021-01-04 10:29:18 -06:00
0614f41323 Package.json cleanup 2020-12-24 22:43:32 -06:00
ef945adf09 Added support for using both MongoDB and PostgreSQL, changed image api timeouts, removed all moderation commands 2020-12-17 20:32:19 -06:00
dependabot[bot]
9c496a4984
Bump ini from 1.3.5 to 1.3.8 (#28)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 16:47:06 -06:00
94b0bc19a4 Added reply support to image detection, added stealth plugin to screenshot, made credits static, more fixes 2020-11-26 09:31:24 -06:00
ad149156ad Switched to an image API implementation by Terradice 2020-11-17 08:52:12 -06:00
cf5c649384 Heavy work on the image detection code, fixed mention prefixes not being properly registered 2020-10-18 16:53:35 -05:00
ac4e1f5dd8 Simplified and fixed image API, updated packages 2020-10-06 14:48:22 -05:00
719fdf5871 Changed include dirs, updated readme/packages, use more efficient command checking, fixed reverse 2020-09-12 13:57:25 -05:00
58613d60ee Merge branch 'master' of https://github.com/esmBot/esmBot into master 2020-09-12 11:16:24 -05:00
dependabot[bot]
e7b9a04692
Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 08:19:11 +00:00
17b347761d Reverted qrread native module 2020-09-11 15:22:25 -05:00
c471bd8af8 Preliminary DM support, update URLs to point to new repo link 2020-09-01 17:10:19 -05:00
f415b3bb09 Changed image function syntax, improved dice, switched to fs.promises, might have also done other stuff but idk 2020-08-27 21:34:12 -05:00
a11fee5ff1 Move QR code decoding to c++ module 2020-07-27 18:02:59 -05:00
6eee7c6058 Moved back to MongoDB, added some extra flags to flag 2020-07-26 19:52:13 -05:00
9555406229 Final Magick++ ports, removed gm module 2020-07-23 15:49:34 -05:00
264bcf5425 Magick++ ports wave 3, fixed issues with avatar and globe 2020-07-20 17:10:04 -05:00
dependabot[bot]
23caf74d00
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 00:54:32 +00:00
710dfdcf84 Prevent using images larger than 25MB, automatically cancel request after 15 seconds 2020-07-16 19:53:44 -05:00
2a67b76169 Migrated database to PostgreSQL, updated packages 2020-07-10 12:07:24 -05:00
0cc80da8b6 Huge sound player overhaul using Lavalink, added boom, removed prunejuice, boat, and bus, re-encoded audio files with ffmpeg 2020-06-27 12:18:26 -05:00
2f1c37579e Added flag, fixed the command count issue (for real) 2020-06-18 14:02:35 -05:00
49d9be8b93 Updated packages 2020-06-17 12:02:34 -05:00
addb16fcd0 Fixed wikihow request URL and headers, removed unnecessary optimization from motivate 2020-06-04 18:18:16 -05:00
ba07757d1d Added automatic process to delete stale database entries 2020-05-20 13:24:57 -05:00
af8bce1d3e Made image use DuckDuckGo instead of Google Custom Search 2020-04-23 20:54:57 -05:00
97c5ee8c05 Added fallback for large images, fixed corrupt xmp profile issue, updated packages 2020-04-20 15:52:22 -05:00
dependabot[bot]
3daea0be54
Bump acorn from 6.1.1 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-15 16:25:56 +00:00
93a7b3fa0d Replace twit with my own module, node-tweet 2020-03-14 18:03:45 -05:00
1da0d24602 Condensed some commands, fixed a bug with motivate, updated packages 2020-03-09 07:39:46 -05:00
b4c8d243a8 Upgraded to ImageMagick 7, modified many commands to use fx operators instead of identify 2020-03-03 15:20:03 -06:00
a839b3b9c8 Removed unnecessary logs, added alternative URL for screenshot 2020-02-26 14:58:38 -06:00
5e394d101d Added screenshot, fixed coalesce issue with gamexplain 2020-02-17 16:21:24 -06:00
07841f46ed v1.1.6 2020-02-10 19:50:00 -06:00
d3e59228d2 v1.1.4 2020-01-30 12:55:55 -06:00
4df084a427 Updated file-type 2020-01-19 09:40:40 -06:00
35cec45196 Fixed bug with emote, removed admin section from help 2020-01-12 12:27:16 -06:00
a534e7c4cf Added optimization to many image commands, updated packages 2020-01-10 13:40:25 -06:00
eb6aae1227 Replaced pug-based help page generator with markdown generator 2019-12-20 11:39:30 -06:00
f1fb72294d Removed googleapis package, added twitter to info, fixed bug with tags 2019-12-06 12:47:40 -06:00
b6a2dd275a Added homebrew and emote, added command params to help and a help webpage generator, updated packages/readme 2019-12-05 10:58:46 -06:00
16927d8667 Don't load commands if env variable doesn't exist, removed catfact/dogfact, many other changes 2019-11-29 20:00:14 -06:00
f7756f1b52 Added basic twitter bot and spin, updated readme, other various changes 2019-11-15 10:59:50 -06:00
d661b58271 Added leak and exec, moved from a config.json file to a .env file, other changes 2019-11-12 18:09:06 -06:00
171253c52c Added snowflake and experimental xp system, made logger easier to use 2019-11-05 09:52:46 -06:00
606c1ea1dc Moved from Enmap/SQLite to MongoDB 2019-10-28 15:21:06 -05:00
7d1ca165b7 Added gamexplain and yoda, replaced many unneeded packages 2019-10-28 11:02:00 -05:00
346c40d492 Added some more commands, updated packages 2019-10-24 15:35:06 -05:00
c33a86eb4c Initial commit 2019-09-13 15:02:41 -05:00