From 5fa50bfc2c1b4f7fd690ea6219d7556daf1a11a7 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 5 Jun 2021 12:48:51 -0400 Subject: [PATCH] Fix --- framework/ArgumentType.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/ArgumentType.js b/framework/ArgumentType.js index 77f29c0a..9f6b8a95 100644 --- a/framework/ArgumentType.js +++ b/framework/ArgumentType.js @@ -1,5 +1,7 @@ module.exports = class ArgumentType { - constructor(id) { + constructor(client, id) { + Object.defineProperty(this, 'client', { value: client }); + this.id = id.toLowerCase(); }