aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-30 13:12:16 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-30 13:12:16 -0400
commit22009ec8da37fc2cd235d0b0c987a0fe45a69e27 (patch)
tree69a47217fb1f28cdcbec9622ac8c8252848eb595 /src/commands
parent8d819519b4376441ca156b6146600382a319a0ba (diff)
downloadtanzanite-22009ec8da37fc2cd235d0b0c987a0fe45a69e27.tar.gz
tanzanite-22009ec8da37fc2cd235d0b0c987a0fe45a69e27.tar.bz2
tanzanite-22009ec8da37fc2cd235d0b0c987a0fe45a69e27.zip
need to make commit early
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/moderation/role.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/role.ts
index ddaefaa..ff0e049 100644
--- a/src/commands/moderation/role.ts
+++ b/src/commands/moderation/role.ts
@@ -71,7 +71,7 @@ export default class RoleCommand extends BushCommand {
}
}
};
- console.debug(action);
+
const user = yield {
id: 'user',
type: 'member',
@@ -83,7 +83,7 @@ export default class RoleCommand extends BushCommand {
}
}
};
- console.debug(user);
+
const _role = yield {
id: 'role',
type: `${action === 'add' ? 'roleWithDuration' : 'role'}`,
@@ -98,7 +98,7 @@ export default class RoleCommand extends BushCommand {
}
}
};
- console.debug(_role);
+
return { action, user, role: (_role as any).role ?? _role, duration: (_role as any).duration };
}