From d7d6247c4cdbdaf3c0ae4eacec6eed8e4b7519d4 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 22 Jul 2020 03:15:17 -0400 Subject: [PATCH 1/2] update acknowledgements --- src/configs/acknowledgements.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/configs/acknowledgements.json b/src/configs/acknowledgements.json index f98dcbf..3bd3668 100644 --- a/src/configs/acknowledgements.json +++ b/src/configs/acknowledgements.json @@ -133,6 +133,15 @@ "github": "https://github.com/sterben6", "bio": "im bored" }, + { + "name": "Raymond", + "id": "314564798992089090", + "dept": "Associate", + "emailAddress": "smashjarchive@staff.libraryofcode.org", + "gitlab": "https://gitlab.libraryofcode.org/javaarchive", + "github": "https://github.com/javaarchive", + "bio": "I don't like reinventing the wheel and don't like coding on small screens like laptops as much" + }, { "name": "Null", "id": "323673862971588609", From ba3b71d0b1705ef574efb460d48a3e6edeb48a7f Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 22 Jul 2020 03:15:42 -0400 Subject: [PATCH 2/2] possible fix for kick cmd --- src/commands/kick.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/kick.ts b/src/commands/kick.ts index a606cab..9a5db00 100644 --- a/src/commands/kick.ts +++ b/src/commands/kick.ts @@ -26,7 +26,7 @@ export default class Kick extends Command { if (user && !this.client.util.moderation.checkPermissions(user, message.member)) return this.error(message.channel, 'Permission Denied.'); message.delete(); - const reason: string = args[1]; + const reason: string = args.slice(1).join(' '); if (reason.length > 512) return this.error(message.channel, 'Kick reasons cannot be longer than 512 characters.'); await this.client.util.moderation.kick(user, message.member, reason); return this.success(message.channel, `${user.username}#${user.id} has been kicked.`);