aboutsummaryrefslogtreecommitdiff
path: root/src/commands/fun/dice.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-26 20:07:19 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-26 20:07:19 -0400
commited59b7f1827ab93573b079144c3eeaa01ce40492 (patch)
tree7ceac6d61a8a25586ab9bbaf7acfbade91c97132 /src/commands/fun/dice.ts
parentc0a81b014a56e4d44c826f78391a930361aab122 (diff)
downloadtanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.tar.gz
tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.tar.bz2
tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.zip
clean up, bug fixes
Diffstat (limited to 'src/commands/fun/dice.ts')
-rw-r--r--src/commands/fun/dice.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/fun/dice.ts b/src/commands/fun/dice.ts
index 9f18657..5058617 100644
--- a/src/commands/fun/dice.ts
+++ b/src/commands/fun/dice.ts
@@ -7,7 +7,7 @@ export default class EightBallCommand extends BushCommand {
category: 'fun',
description: {
content: 'Roll virtual dice.',
- usage: 'dice',
+ usage: ['dice'],
examples: ['dice']
},
clientPermissions: (m) => util.clientSendAndPermCheck(m),
@@ -16,7 +16,7 @@ export default class EightBallCommand extends BushCommand {
});
}
- public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
+ public override async exec(message: BushMessage | BushSlashMessage) {
const responses = ['1', '2', '3', '4', '5', '6'];
const answer = responses[Math.floor(Math.random() * responses.length)];
return await message.util.reply(`You rolled a **${answer}**.`);