aboutsummaryrefslogtreecommitdiff
path: root/src/arguments/roleWithDuation.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-05 13:45:44 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-05 13:45:44 -0400
commit81d69f983983ac71dbdbd5f13e2f2d8ddc35dced (patch)
tree6a06124a6696bb4036607d179972aa889b7b3769 /src/arguments/roleWithDuation.ts
parent93e8fce44ec1dd3294b1c785d93d3f8b00ee4cef (diff)
downloadtanzanite-81d69f983983ac71dbdbd5f13e2f2d8ddc35dced.tar.gz
tanzanite-81d69f983983ac71dbdbd5f13e2f2d8ddc35dced.tar.bz2
tanzanite-81d69f983983ac71dbdbd5f13e2f2d8ddc35dced.zip
cleaning up and some imporvements to the stats command
Diffstat (limited to 'src/arguments/roleWithDuation.ts')
-rw-r--r--src/arguments/roleWithDuation.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arguments/roleWithDuation.ts b/src/arguments/roleWithDuation.ts
index 03a6035..54e6390 100644
--- a/src/arguments/roleWithDuation.ts
+++ b/src/arguments/roleWithDuation.ts
@@ -10,8 +10,6 @@ export const roleWithDurationTypeCaster: BushArgumentTypeCaster = async (
contentWithoutTime = contentWithoutTime.trim();
const role = await util.arg.cast('role', client.commandHandler.resolver, message, contentWithoutTime);
if (!role) {
- client.console.debug(contentWithoutTime);
- client.console.debug(duration);
return null;
}
return { duration, role };