Commit Graph

225 Commits

Author SHA1 Message Date
WatDuhHekBro 793822f3d0 Fixed help command 2021-04-12 12:46:48 -05:00
WatDuhHekBro 9bf44c160a Improved stream notifications 2021-04-12 12:43:13 -05:00
WatDuhHekBro 6361b83c05 Fixed GitHub Actions and addressed CodeQL issues 2021-04-12 09:02:19 -05:00
Keanu Timmermans 3cd05cd48c
Fixed duplicate help entries. 2021-04-12 15:43:43 +02:00
WatDuhHekBro 6ea052ae6f Small fixes and rework of poll 2021-04-12 04:07:04 -05:00
WatDuhHekBro 8142709581 Fixed help/thonk bugs and removed more unused vars 2021-04-12 02:45:35 -05:00
WatDuhHekBro 06e122931f Merge branch 'omnibus' of https://github.com/keanuplayz/TravBot-v3 into omnibus 2021-04-11 05:46:10 -05:00
WatDuhHekBro a493536a23 Refactored paginate and added poll to library 2021-04-11 05:45:50 -05:00
Keanu Timmermans 0a265dcd5c
Removed unused run args and Command imports. 2021-04-11 11:11:21 +02:00
Keanu Timmermans 51d19d5787
Added Discord.JS Docs command. 2021-04-11 10:58:06 +02:00
WatDuhHekBro c980a182f8 Updated library functions 2021-04-11 03:02:56 -05:00
WatDuhHekBro 3798c27df9 Removed lenient command handling 2021-04-10 14:08:36 -05:00
WatDuhHekBro 15012c7d17 Reduced clunkiness of rest type and applied changes to commands 2021-04-10 12:07:55 -05:00
WatDuhHekBro 26e0bb5824 Added rest subcommand type 2021-04-10 11:30:27 -05:00
WatDuhHekBro e1e6910b1d Reduced channel.send() to send() 2021-04-10 08:34:55 -05:00
WatDuhHekBro e8def0aec3 Added guild subcommand type and various changes 2021-04-10 08:21:25 -05:00
WatDuhHekBro 54ce28d8d4 Added more library functions to command handler 2021-04-10 06:41:48 -05:00
WatDuhHekBro bd67f3b8cc Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into omnibus 2021-04-10 02:41:05 -05:00
WatDuhHekBro 4c3437a177 Finally made the commands directory configurable 2021-04-10 02:38:46 -05:00
WatDuhHekBro 653cc6f8a6 Turned the help command into a paginated embed 2021-04-09 23:33:22 -05:00
WatDuhHekBro 72ff144cc0 Split command resolution part of help command 2021-04-09 23:06:16 -05:00
Keanu Timmermans da62401f59
Fixed messageEmbed test, added parseVars lib test. 2021-04-09 17:17:25 +02:00
WatDuhHekBro a7aea6a28e Added streaminfo message and system info module 2021-04-08 16:43:58 -05:00
WatDuhHekBro 20fb2135c7 Implemented various ideas from backlog 2021-04-08 06:37:49 -05:00
WatDuhHekBro dd6f04fb25 Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into experimental-core-rollout 2021-04-07 20:33:12 -05:00
Mijyuoon 066d210107 Fixed a bug in .emote command when the selector number is too large 2021-04-08 02:41:16 +03:00
WatDuhHekBro 1dc63ef188 Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into experimental-core-rollout 2021-04-07 09:14:05 -05:00
Mijyuoon 053b835e89
Improve emote resolving for .emote and .react commands (#33) 2021-04-07 16:01:44 +02:00
WatDuhHekBro e7dfab7592 Updated the documentation 2021-04-07 05:58:09 -05:00
WatDuhHekBro 5a64aed45d Filled out design decisions doc 2021-04-07 04:58:13 -05:00
WatDuhHekBro 9137231768 Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into experimental-core-rollout 2021-04-07 01:43:39 -05:00
WatDuhHekBro 9c2ff59a34
Merge pull request #32 from EL20202/typescript
added functionality for reacting to in-line replies
2021-04-07 01:02:22 -05:00
EL2020 fae06f66d4 added functionality for reacting to in-line replies 2021-04-06 21:04:27 -04:00
Mijyuoon c82083af5d Added an entry that should've been added 2021-04-06 18:24:42 +03:00
Keanu Timmermans 667389340d
Merge pull request #30 from Hades785/eco-bet 2021-04-06 16:18:34 +02:00
Keanu Timmermans 4978aceec6
Merge pull request #27 from keanuplayz/feature/stream-events 2021-04-06 16:10:21 +02:00
WatDuhHekBro cd9aaa5f4b Added comma 2021-04-06 01:48:17 -05:00
フズキ fd136dc34f
Finally added description fields 2021-04-06 08:39:11 +02:00
WatDuhHekBro eac2f1d8fa
Merge branch 'typescript' into experimental-core-rollout 2021-04-06 01:36:42 -05:00
フズキ 61cb648c70
Merge branch 'typescript' into eco-bet 2021-04-06 08:23:36 +02:00
WatDuhHekBro db33203657 Cleaned up guild checks and return statements 2021-04-06 01:15:17 -05:00
フズキ dc33dbd180
Rename insurance field 2021-04-06 08:02:52 +02:00
WatDuhHekBro 1351f3250b Added hacky persistence and bug fixes on eco bet 2021-04-05 22:57:03 -05:00
WatDuhHekBro 678485160e Added optional channel target for setting channel 2021-04-05 20:55:21 -05:00
EL2020 937e6f52f5 added a few names properly this time 2021-04-05 20:33:34 -04:00
WatDuhHekBro 5402883a2f Resolved all lingering post-merge errors 2021-04-05 07:21:27 -05:00
WatDuhHekBro 259b6907b8 Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into experimental-core-rollout 2021-04-05 06:59:28 -05:00
WatDuhHekBro 4a78ce808b Added more subcommand types 2021-04-05 06:45:28 -05:00
WatDuhHekBro 03f37680e7 Fully isolated command handler from rest of code 2021-04-05 04:40:04 -05:00
WatDuhHekBro 44cae5c0cb Fixed some bugs and added proper event handler 2021-04-05 03:46:50 -05:00
WatDuhHekBro 5c3896c2db Separated command handler from utility modules and fixed lingering errors in commands 2021-04-04 23:43:10 -05:00
WatDuhHekBro 6ed4c0988f Implemented rough draft of info resolver method 2021-04-04 22:40:31 -05:00
WatDuhHekBro 2a4d08d0bc Added special case for bot DMs 2021-04-04 20:01:29 -05:00
WatDuhHekBro 6eea068909 Reworked Command.execute and subcommand recursion 2021-04-04 19:35:10 -05:00
WatDuhHekBro 63441b4aca Added more type guards/properties to Command class 2021-04-04 17:28:32 -05:00
Mijyuoon 4c7b8200da
Added my almighty ass to .whois list 2021-04-04 23:54:51 +03:00
WatDuhHekBro 3362f9fbbe Prototyped stream notifications like CheeseBot 2021-04-03 21:35:55 -05:00
WatDuhHekBro f650faee89 Reorganized code dealing with the command class 2021-04-03 05:26:22 -05:00
WatDuhHekBro c1b298a407 Added welcome message and system logs channel 2021-04-02 23:11:18 -05:00
WatDuhHekBro ee9c88996e Ported events and welcome event 2021-04-01 08:41:49 -05:00
WatDuhHekBro 9adc5eea6e Started attempting to split up core handler 2021-04-01 05:44:44 -05:00
WatDuhHekBro df3e4e8e6e Made some minor changes to modules 2021-03-31 02:00:03 -05:00
WatDuhHekBro 974985586d Rearranged command categories 2021-03-30 22:22:25 -05:00
WatDuhHekBro 945102b7cf Reworked event loading 2021-03-30 21:56:25 -05:00
WatDuhHekBro 3ef487c4a4 Reorganized lib/libd functions and Lavalink 2021-03-30 21:19:04 -05:00
WatDuhHekBro 6a4107c01e Copied over the rest of TravBot v2 commands 2021-03-30 20:40:29 -05:00
WatDuhHekBro 86ccb74ac2 Highly biased code review 2021-03-30 18:14:15 -05:00
WatDuhHekBro 02c18f57c7 Reworked paginate function 2021-03-30 07:16:31 -05:00
WatDuhHekBro 475ecb3d5d Reworked permission handling 2021-03-30 05:54:52 -05:00
WatDuhHekBro 51fa9457b4 Fully separated utility functions from command menu 2021-03-30 05:25:07 -05:00
WatDuhHekBro 10c1cd9cff Separated custom logger from command menu 2021-03-30 04:02:01 -05:00
WatDuhHekBro 00addd468c Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into experimental-core 2021-03-30 03:23:11 -05:00
WatDuhHekBro 1954b2d999 Fixed small error 2021-03-28 13:58:10 -05:00
WatDuhHekBro 3b1b8ec914 Added a timeout to regex search 2021-03-28 12:49:45 -05:00
WatDuhHekBro b3e1b5e140 Removed problematic feature 2021-03-28 11:01:07 -05:00
WatDuhHekBro 90c41c8df4 Added query to lsemotes and searching other guilds 2021-03-28 09:34:31 -05:00
Keanu Timmermans 705e093999
Added message quoting.
See https://is.gd/lpGqxj
2021-03-20 13:27:57 +01:00
Keanu Timmermans 38e03a85bb
Too lazy to add interceptor; get content instead.
This is for my running joke of reacting with 🚱
to CheeseBot's "Remember to drink water!" message.
2021-03-16 19:07:53 +01:00
Keanu Timmermans 0e1d8f3907
Merge branch 'typescript' of github.com:keanuplayz/TravBot-v3 into typescript 2021-03-13 15:09:27 +01:00
Keanu Timmermans 3f4ee9315f
Added channel lock for eco. 2021-03-13 15:09:18 +01:00
Keanu Timmermans cec38cf4bd Stop deleting the emote invocation. 2021-03-07 22:07:59 +01:00
フズキ c71406a8d0
eco-bet: added a check for bet target's money 2021-02-23 23:25:28 +01:00
フズキ d6548c53db
eco-bet: improvements
- duration bounds
- link to calling message
2021-02-21 14:11:25 +01:00
Dmytro Meleshko e22250b3f1 introduce the terrible hack for reducing memory usage 2021-01-29 21:29:46 +02:00
Dmytro Meleshko 303e81cc37 reduce the amount of cache lookups 2021-01-29 21:12:53 +02:00
Dmytro Meleshko 0cba164f3d get rid of @ts-ignore or something 2021-01-29 19:15:32 +02:00
Dmytro Meleshko 593efb3602 raise the ES target level and enable sourcemaps in tsconfig.json 2021-01-29 19:07:39 +02:00
Dmytro Meleshko 417bfc8a18 get rid of the remaining calls to BaseManager#resolve to make all cache access explicit 2021-01-29 18:21:06 +02:00
Keanu Timmermans a21ed7a97f
Fixed info using `heapTotal` for both values. 2021-01-29 14:34:46 +01:00
WatDuhHekBro 3a47acf05f Merge branch 'typescript' of https://github.com/keanuplayz/TravBot-v3 into experimental-core 2021-01-28 18:37:50 -06:00
Keanu Timmermans 74d36e36b2 Improved logic of role display on info.
Co-authored-by: Mijyuoon <mijuoon@gmail.com>
2021-01-29 01:15:42 +01:00
Keanu Timmermans baf17e6c76 Corrected usage of trimarray in info. 2021-01-29 00:57:50 +01:00
フズキ 055a57e928
eco-bet: use askYesOrNo to clean up 2021-01-26 19:54:43 +01:00
フズキ 499aea9e66
eco-bet: save storage modification 2021-01-26 18:11:50 +01:00
フズキ 38eb0906ee
eco/bet: Clean up comments and add feedback 2021-01-26 16:28:04 +01:00
WatDuhHekBro 1fd8634ef1 Tinkered with pre-commit, jest, and tsconfig 2021-01-26 07:22:23 -06:00
WatDuhHekBro 5ed9d79715 Changed command loading to use a glob pattern 2021-01-26 03:52:39 -06:00
フズキ 7105c6284f
Add 'bet' command to the 'eco' module 2021-01-25 23:06:12 +01:00
WatDuhHekBro d7c18d1b06 Fixed time setup accounting for differences in day 2021-01-24 22:46:48 -06:00
WatDuhHekBro 8da5ad0ca6 Addressed issue with inline replies using prefix 2021-01-24 19:12:43 -06:00