Commit graph

159 commits

Author SHA1 Message Date
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
WatDuhHekBro
f650faee89 Reorganized code dealing with the command class 2021-04-03 05:26:22 -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
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
705e093999
Added message quoting.
See https://is.gd/lpGqxj
2021-03-20 13:27:57 +01:00
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
0e1d8f3907
Merge branch 'typescript' of github.com:keanuplayz/TravBot-v3 into typescript 2021-03-13 15:09:27 +01:00
3f4ee9315f
Added channel lock for eco. 2021-03-13 15:09:18 +01:00
cec38cf4bd Stop deleting the emote invocation. 2021-03-07 22:07:59 +01:00
Dmytro Meleshko
22bd5302c5
don't install the module os from npm, it's a built-in one (#24) 2021-02-21 11:24:37 +01:00
2ff732c927
Merge pull request #23 from dmitmel/typescript 2021-02-16 13:15:23 +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
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
74d36e36b2 Improved logic of role display on info.
Co-authored-by: Mijyuoon <mijuoon@gmail.com>
2021-01-29 01:15:42 +01:00
baf17e6c76 Corrected usage of trimarray in info. 2021-01-29 00:57:50 +01:00
WatDuhHekBro
30697e5020 First attempt at getting husky to work 2021-01-26 09:57:05 -06: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
8b29163c26
Implemented time command...
By @WatDuhHekBro
2021-01-25 15:17:15 +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
WatDuhHekBro
7b4d8b934c Added time command for user-submitted timezones 2021-01-24 08:07:58 -06:00
eec6aa7b96
Upgraded dependencies. 2021-01-06 14:20:38 +01:00
56dafed616
Merge pull request #21 from keanuplayz/emote-dump 2021-01-03 16:27:45 +01:00
WatDuhHekBro
f8d6c0d336 Reverted changes except for the file location 2021-01-02 20:16:15 -06:00
WatDuhHekBro
5537cec29a Removed structure redundancy and saves to data/ 2021-01-01 19:44:43 -06:00