forked from embee/woomy
Delete dicerole.js
This commit is contained in:
parent
0c377f6cce
commit
3fa96ca6f8
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
exports.run = async (bot, message, args) => {
|
||||
if (args.length === 0) {
|
||||
message.channel.send(`🎲 You rolled a ${Array.from(Array(6).keys()).random() + 1}!`);
|
||||
} else {
|
||||
if (args[0].match(/^\d+$/)) {
|
||||
message.channel.send(`🎲 You rolled a ${Array.from(Array(parseInt(args[0])).keys()).random() + 1}!`);
|
||||
} else {
|
||||
message.channel.send(`🎲 You rolled a ${Array.from(Array(6).keys()).random() + 1}!`);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
exports.conf = {
|
||||
enabled: true,
|
||||
guildOnly: false,
|
||||
aliases: ["diceroll"],
|
||||
permLevel: "User",
|
||||
requiredPerms: []
|
||||
};
|
||||
|
||||
exports.help = {
|
||||
name: "dice",
|
||||
category: "Fun",
|
||||
description: "Rolls a dice.",
|
||||
usage: "dice"
|
||||
};
|
||||
|
Loading…
Reference in a new issue