From ed59b7f1827ab93573b079144c3eeaa01ce40492 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 26 Oct 2021 20:07:19 -0400 Subject: clean up, bug fixes --- src/commands/fun/coinflip.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/commands/fun/coinflip.ts') diff --git a/src/commands/fun/coinflip.ts b/src/commands/fun/coinflip.ts index 42e7167..2d1f70c 100644 --- a/src/commands/fun/coinflip.ts +++ b/src/commands/fun/coinflip.ts @@ -7,15 +7,16 @@ export default class CoinFlipCommand extends BushCommand { category: 'fun', description: { content: 'Flip a virtual coin.', - usage: 'coinflip', + usage: ['coinflip'], examples: ['coinflip'] }, clientPermissions: (m) => util.clientSendAndPermCheck(m), - userPermissions: [] + userPermissions: [], + slash: true }); } - public override async exec(message: BushMessage | BushSlashMessage): Promise { + public override async exec(message: BushMessage | BushSlashMessage) { const random = Math.random(); let result: string; const fall = message.author.id === '322862723090219008' ? 0.1 : 0.001; //dw about it -- cgit