Commit Graph

160 Commits (e55dcfc7dda8f7df6471939f3d7683c836540d8b)

Author SHA1 Message Date
Matthew 6d0a1fa357
return help on kick if no args specified 2020-05-14 01:46:09 +01:00
hector6704 9f537d104a
remove useless import 2020-05-14 01:46:07 +01:00
hector6704 db82d260e2
add kick command and fix typo in .gitignore 2020-05-14 01:46:07 +01:00
DedShot™#9195 c9d39fff4c
Fix npm command dependencies variable 2020-05-14 01:46:06 +01:00
Matthew 08cf69173e
acknowledgements update 2020-05-14 01:46:05 +01:00
Matthew 0f39b55669
fixes for command arguments 2020-05-14 01:46:04 +01:00
Matthew 60550ee5b8
matt bio change 2020-05-14 01:46:04 +01:00
Matthew b7d2cd0bd8
acknowledgements for ryan 2020-05-14 01:46:03 +01:00
Matthew 8f06ad41e1
npm cmd bug fixes 2020-05-14 01:46:02 +01:00
Matthew 5d77817a72
jsdoc changes on Command class 2020-05-14 01:46:01 +01:00
Matthew 441579420a
changes to help cmd 2020-05-14 01:46:01 +01:00
Matthew 4cd7b0f12f
add help cmd 2020-05-14 01:46:00 +01:00
Matthew e961beb036
acknowledgement changes 2020-05-14 01:46:00 +01:00
Matthew 2ad7d3f506
fixes to whois perm calculations 2020-05-14 01:45:59 +01:00
Matthew c20557a2ad
fixes to npm command 2020-05-14 01:45:58 +01:00
DedShot™#9195 1eb05eff33
changed file name from mdn to npm 2020-05-14 01:45:58 +01:00
DedShot™#9195 8db1b708fa
Added timestamp and footer to the embed 2020-05-14 01:45:57 +01:00
DedShot™#9195 392fadc093
Added npm command 2020-05-14 01:45:56 +01:00
Matthew ed866067b4
fixes for undefined platforms 2020-05-14 01:45:55 +01:00
Matthew bf9ab41fcc
sort whois langs alphabetical order 2020-05-14 01:45:55 +01:00
Matthew 612b48dfa0
add missing c# case in switch statement 2020-05-14 01:45:54 +01:00
Matthew 0308e20528
info command 2020-05-14 01:45:54 +01:00
Matthew 4bf2311091
fix typos 2020-05-14 01:45:53 +01:00
Matthew 8067a8b348
delitem cmd 2020-05-14 01:45:53 +01:00
Matthew 9bd97df10a
fix issue with whois platform 2020-05-14 01:45:52 +01:00
Matthew d48386a7b1
add known languages list to whois 2020-05-14 01:45:51 +01:00
Matthew 2a87dd253c
add command to add known langs 2020-05-14 01:45:51 +01:00
Matthew 15eee459d1
fix typo in roleinfo (@dedshot) 2020-05-14 01:45:50 +01:00
Matthew a8cb977ae1
add new Member model 2020-05-14 01:45:49 +01:00
Matthew a4182db2eb
platform information in whois cmd 2020-05-14 01:45:49 +01:00
Matthew c2085378dd
perms fix (@dedshot) 2020-05-14 01:45:39 +01:00
Bsian 4f55e29094
Fix hex parsing 2020-04-21 18:53:12 +01:00
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