Commit graph

179 commits

Author SHA1 Message Date
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
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
フズキ
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
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
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
フズキ
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
7b4d8b934c Added time command for user-submitted timezones 2021-01-24 08:07:58 -06:00
WatDuhHekBro
2e2bd57598
Fixed the info command and its problems (kinda) 2020-12-29 12:34:41 +00:00
WatDuhHekBro
799c477baf Tried a different emote capitalization heuristic 2020-12-16 23:37:07 -06:00
WatDuhHekBro
2017e45403 Tried adding some heuristics to searching emotes 2020-12-16 23:12:17 -06:00
WatDuhHekBro
9ab588468e Added eco monday 2020-12-16 01:24:26 -06:00
WatDuhHekBro
3d3631c65a Fixed some inaccuracies in eco 2020-12-15 17:46:03 -06:00
WatDuhHekBro
5b3b5d0611 Added some eco aliases and fixed eval command 2020-12-15 17:29:40 -06:00
WatDuhHekBro
4752adc7b4 Ported the old eco guild command 2020-12-15 05:15:28 -06:00
WatDuhHekBro
5665a91af4 Added more functionality to the react command 2020-12-15 03:22:32 -06:00
WatDuhHekBro
5165c5ec4b Changed max width to 120 columns 2020-12-15 01:56:09 -06:00
WatDuhHekBro
39f89a9f63 Formatting Preview Alpha 2020-12-14 19:44:28 -06:00
WatDuhHekBro
98e47e3796 Fixed the error prevention in the neko command 2020-12-14 02:13:31 -06:00
WatDuhHekBro
927e306e9a Hotfix: Buying an item now saves data properly 2020-12-14 01:54:46 -06:00
WatDuhHekBro
4f443d3e4f Ported over "eco shop" and "eco buy" 2020-12-14 01:13:16 -06:00
WatDuhHekBro
8417a1ba57 Split up the money command into several parts 2020-11-04 02:04:07 -06:00
1abab93362 Ported all legacy commands! (except eco) 2020-10-22 14:24:58 +00:00
beab6cb1fc Did a number of things.
- Upgraded dependencies
- Added eval command (admin)
- Added bot info command (info)
2020-10-22 13:41:02 +00:00
cdf2c47f0c Fixed up info guild. 2020-10-22 13:39:33 +00:00
dbebb656b6 Added shorten command. 2020-10-22 13:38:57 +00:00
0c0fc083cf Moved emote cmds to utility category.
Updated Discord.JS version to 12.4.0.
Added channelCreate/remove events.
Removed husky.
2020-10-20 12:04:13 +00:00
74b4d4272c Added husky. 2020-10-15 09:23:24 +00:00
57433cc594 Completed lsemotes. Various other changes.
- Replaced deprecated `version` input with `dockerx-version`
- Replaced deprecated `equals` function with `strictEquals`
- Fixed indentation on paginate function.
2020-10-15 09:02:24 +00:00
Lexi
57a4c9f523 Added WIP emote list.
@WatDuhHekBro also fixed the paginate function in lib.ts.
This had some inconsistencies.

Aside from that, to reduce image size, docker now ignores node_modules.

Co-authored-by: WatDuhHekBro <watduhhekbro@gmail.com>
2020-10-13 22:11:26 +02:00
WatDuhHekBro
b3209d1cf1 Added documentation + misc patches 2020-08-30 16:26:18 -05:00
WatDuhHekBro
3767a10829 Modularized finding members by their username 2020-08-27 22:46:40 -05:00
eed1438fb2 Removed fun.ts 2020-08-18 09:22:07 +00:00
bd0984eb69 Moved poll command to fun category. 2020-08-17 17:38:15 +00:00
5b3df90067 Moved 8ball to Fun category. 2020-08-15 21:02:58 +00:00
WatDuhHekBro
32256f50fe Ported the scanemotes command 2020-08-14 12:51:27 -05:00
WatDuhHekBro
877a41fac2 Added command aliases 2020-08-14 11:35:53 -05:00
WatDuhHekBro
139630ce9f Various small changes/fixes 2020-08-14 07:50:24 -05:00
WatDuhHekBro
77422538df Added pinging bot for prefix and var string prefix 2020-08-14 04:43:45 -05:00
a86e11ed23
Added lsemotes command to util. 2020-08-13 22:39:10 +02:00
10f4f30137
Added poll to fun. 2020-08-13 22:03:18 +02:00
ed14ccefca
Added 8ball command to fun. 2020-08-13 20:58:41 +02:00
8dd87c89a9
Largely optimized activity command. 2020-08-13 20:11:14 +02:00
6a628a4791
Added activity command to admin. 2020-08-13 18:49:55 +02:00
d85040b313
Added guilds command to admin. 2020-08-13 18:13:55 +02:00
979c00ddc8
Added nick command to admin. 2020-08-13 17:57:22 +02:00
facaf001ad
Added purge command to admin. 2020-08-13 17:06:10 +02:00
9d0caaf976
Added status command to admin. 2020-08-12 22:33:54 +02:00
WatDuhHekBro
6744faa6e6 Fixed userFlags 2020-08-05 22:21:36 -05:00
WatDuhHekBro
9816298f55 Patched up the info command 2020-08-05 22:11:11 -05:00
48097b729d
Added WIP info command. 2020-08-05 22:08:26 +02:00
WatDuhHekBro
bf84c2970d Added a permissions system 2020-07-26 05:02:35 -05:00
WatDuhHekBro
2488239598 Modularized command resolution 2020-07-25 21:35:53 -05:00
WatDuhHekBro
4b03912e89 Added command categories 2020-07-25 20:14:11 -05:00
WatDuhHekBro
14f78a91dc Relocated loadCommands and loadEvents 2020-07-25 18:32:49 -05:00
WatDuhHekBro
295995aba2 Ported CrossExchange v1.0.1 and removed stonks 2020-07-25 03:15:26 -05:00