Commit Graph

678 Commits (a8a561ecf1d4de968a897cc482caf84f7f5e185e)

Author SHA1 Message Date
Matthew b0aadbc73e
ack updates 2020-04-20 14:30:28 -04:00
Matthew fee63d56aa
perm changes 2020-04-20 13:57:08 -04:00
Matthew 4541482cf5
acknowledgement title changes 2020-04-20 13:56:54 -04:00
Matthew d2d3a5c335
remove uuid from log id, use randomBytes(2).toString('hex') instead 2020-04-17 23:05:10 -04:00
Matthew 99d7e6c433
easter egg 2020-04-17 20:31:24 -04:00
Matthew ba03174ce4
enums dont have to explicity declare the #'s 2020-04-17 20:31:15 -04:00
Matthew 3b1cf59c36
better creation date formatting 2020-04-17 13:03:33 -04:00
Matthew 1f75d0ff91
add member count & fix position stuff 2020-04-17 12:59:13 -04:00
Matthew c8bc1b8f69
why is it using message.member 2020-04-17 12:47:26 -04:00
Matthew bf56a69aa4
fix multiple issues with users that have no roles in whois.ts 2020-04-17 12:44:17 -04:00
Matthew ec8eff224b
fix multiple issues with property, message.guild does not exist 2020-04-17 12:33:03 -04:00
Bsian a1e8510073
I can remove this now 2020-04-17 14:49:17 +01:00
Bsian 1a41999e42
more improvements 2020-04-17 14:45:18 +01:00
Bsian 2c6cf8e552
Improvements 2020-04-17 13:42:25 +01:00
Bsian e780777adb Use error function
(cherry picked from commit 41cd6869f5)
2020-04-16 23:37:12 -04:00
Bsian ca662aaa2f Remove imports
(cherry picked from commit f35317c43c)
2020-04-16 23:29:39 -04:00
Bsian b126486a0a Add activity type enum
(cherry picked from commit c72d5c1f1b)
2020-04-16 23:28:28 -04:00
Bsian 65b5cedb4e Remove optional chaining
(cherry picked from commit 99ef533121)
2020-04-16 23:08:08 -04:00
Bsian 9dab377235 Fix everything
Matt please don't change the ECMA target


(cherry picked from commit cfe5e65ed8)
2020-04-16 22:59:53 -04:00
Matthew 4069a20a31
fix various issues with ban/unban commands 2020-04-16 17:58:10 -04:00
Matthew 563db7d9a7
add colors to mod embeds and code refactor 2020-04-16 17:57:50 -04:00
Matthew 9e50426095
add dedshot to list of contribs 2020-04-16 17:56:11 -04:00
Matthew 506deee8ab
fix unban issue 2020-04-16 10:14:13 -04:00
Matthew 3b12b26026
enable rest mode 2020-04-16 10:11:54 -04:00
Matthew 1e5bcc56c0
add unban cmd 2020-04-16 10:09:44 -04:00
Matthew a6ba25801a
temporarily remove badge 2020-04-16 09:59:14 -04:00
Matthew 443d627833
temporarily remove badge 2020-04-16 09:58:06 -04:00
Matthew 257c8f9e28
changes to whois 2020-04-16 09:53:33 -04:00
Matthew b904a00b33
roleinfo command fixes 2020-04-16 09:16:48 -04:00
Matthew e3dd49e3a8
fix issues relating to MR \!3 2020-04-16 09:03:59 -04:00
Matthew 5c1b99129d Merge branch 'master' into 'master'
Added role info command

See merge request engineering/communityrelations!3
2020-04-16 09:00:55 -04:00
Matthew 0c789f6629
fix issues relating to recent merged MR 2020-04-15 23:03:07 -04:00
DedShot™#9195 8678b0878b Used RichEmbed class 2020-04-15 20:14:20 -04:00
Null 11f51b2508
Revert to stricter resolver 2020-04-15 16:00:32 -05:00
Matthew 81fea6cdd0
add usages to all commands 2020-04-15 15:33:46 -04:00
Matthew 88d44fa484
add usage prop 2020-04-15 15:33:39 -04:00
Matthew 11c39b8c65
important commands not disabled on err 2020-04-15 15:33:27 -04:00
Matthew dc09c42923
changes to class & add Moderation class on Util 2020-04-15 15:13:44 -04:00
Matthew 7449aedd92
add eval command 2020-04-15 15:13:29 -04:00
Matthew 4ff55f158c
add game command 2020-04-15 15:13:22 -04:00
Matthew 9b95eabeb4
add ban command 2020-04-15 15:13:16 -04:00
Matthew bfe4c06835
add autorelease interval func 2020-04-15 15:13:06 -04:00
Matthew 14711de6de
check for user perms in message create 2020-04-15 15:12:56 -04:00
Matthew 3233e99a0e
json config 2020-04-15 15:12:43 -04:00
Matthew 33165dd0c9
Moderation model 2020-04-15 15:12:26 -04:00
Matthew 74ddbf1c13
call Client#loadIntervals and Client#loadDatabase on startup 2020-04-15 15:12:17 -04:00
Null 3c6ecb8e76
Add channel resolver 2020-04-15 11:19:46 -05:00
Null 2206a11050
Ignore eslint loops warning/error 2020-04-15 11:02:13 -05:00
Null 104cd69862
Fix member resolver 2020-04-15 10:59:22 -05:00
Null 35ab708dfc
Add ability to resolve roles 2020-04-15 10:57:37 -05:00
Null f26bee8c7a
Improve resolver further
Use startsWith over includes for better accuracy, allow iterations on the query to avoid accidental user input screwing up resolver
2020-04-15 10:42:08 -05:00
Matthew 4a94e56842
fix bsian's shit formatting ;) 2020-04-15 11:29:43 -04:00
Bsian d548b027e1 Include partial resolver 2020-04-15 11:26:03 -04:00
Bsian 7b9d71790d Update whois.ts 2020-04-15 11:19:21 -04:00
Bsian 28fc40763a Formatting 2020-04-15 11:15:50 -04:00
Bsian 012dfb14bc Fixes my fix 2020-04-15 11:15:18 -04:00
Bsian b4ff1ce805 Fixes #2 2020-04-15 11:12:36 -04:00
Matthew f16935da6a Merge branch 'master' into 'master'
Resolver & command update

See merge request engineering/communityrelations!2
2020-04-15 10:35:04 -04:00
DedShot™#9195 4141482c21 Added try/catch block 2020-04-15 09:54:19 -04:00
Ded Shot 446e6db437 Added role info command 2020-04-15 07:25:02 -04:00
Null 784bb76fc9
fix(src/class/Util.ts): Make mentions resolve 2020-04-14 23:19:54 -05:00
Null 0b556655d9
fix(src/commands/whois.ts): Make whois use the full resolver 2020-04-14 23:13:47 -05:00
Matthew 3b0b6e1740
add null to acknowledgements 2020-04-15 00:04:38 -04:00
Null ba328b6c7d
fix(src/class/Util.ts): Fix resolver 2020-04-14 22:52:23 -05:00
Matthew f3199c59d5
add ready event w/ listeners for error events 2020-04-14 21:34:09 -04:00
Matthew b5be5c7d28
wrap messageCreate event in try/catch block 2020-04-14 21:33:58 -04:00
Matthew b194c7e097
wrap all commands in try/catch block 2020-04-14 21:33:47 -04:00
Matthew bc72e484f8
error handling funcs 2020-04-14 21:33:34 -04:00
Matthew d922b15475
badge thumbnails and different emotes for whois 2020-04-14 21:19:00 -04:00
Matthew cbc06a508d
dynamically load emotes from configs/emotes.json 2020-04-14 21:18:44 -04:00
Matthew b8f5356eaf
add acknowledgements information file (json) 2020-04-14 19:03:37 -04:00
Matthew fd9680ae95
update src/class index file 2020-04-14 19:03:20 -04:00
Matthew f121a9bd37
add Util class 2020-04-14 19:03:10 -04:00
Matthew 54151f911c
add RichEmbed class 2020-04-14 19:03:04 -04:00
Matthew 9a1c63a9ca
fix issue with aliases and add further typings to Command 2020-04-14 19:02:55 -04:00
Matthew e0695fe39c
changes to client config 2020-04-14 19:02:28 -04:00
Matthew 708ec88947
add whois command 2020-04-14 19:02:12 -04:00
Matthew bfb7e962c3
Initial commit 2020-04-14 13:15:33 -04:00