adjusted args a bit
This commit is contained in:
parent
a5e1ef65c9
commit
20e51cf8a7
1 changed files with 3 additions and 3 deletions
|
@ -38,9 +38,9 @@ function randomItem(array) {
|
|||
exports.run = async (client, message, args, level) => {
|
||||
message.delete();
|
||||
|
||||
if (args.length < 1) {
|
||||
if (!args[0]) {
|
||||
message.delete();
|
||||
return (await message.reply("Please specify something to ask of the magic 8-ball!")).delete(5000);
|
||||
return (await message.reply("text")).delete(5000);
|
||||
}
|
||||
|
||||
let response = randomItem(responses);
|
||||
|
|
Loading…
Reference in a new issue