wtf lol
This commit is contained in:
parent
ffd056972d
commit
05b35fc207
1 changed files with 1 additions and 12 deletions
|
@ -1,15 +1,4 @@
|
|||
exports.run = (client, message, args) => {
|
||||
if(!args[0]) {
|
||||
return message.channel.send(
|
||||
`<:error:466995152976871434> Invalid choice. Usage: \`${client.commands.get(`flip`).help.usage}\``
|
||||
);
|
||||
};
|
||||
|
||||
if(args[0].toLowerCase() != "heads" && args[0].toLowerCase() != "tails") {
|
||||
return message.channel.send(
|
||||
`<:error:466995152976871434> Invalid choice. Usage: \`${client.commands.get(`coinflip`).help.usage}\``
|
||||
);
|
||||
};
|
||||
var coin = [
|
||||
"Heads!",
|
||||
"Tails!"
|
||||
|
@ -31,5 +20,5 @@ exports.help = {
|
|||
name: "coinflip",
|
||||
category: "Fun",
|
||||
description: "Flips a coin!",
|
||||
usage: "coinflip [heads/tails]"
|
||||
usage: "coinflip"
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue