This commit is contained in:
Lamp 2021-08-26 19:34:27 -07:00
parent 574990c9ed
commit 712bc0933a

@ -1,4 +1,4 @@
var commands = module.exports.commands = [
var commands = module.exports = [
{
name: "say",
description: "test command",
@ -7,11 +7,11 @@ var commands = module.exports.commands = [
name: "text",
description: "text to say",
type: 3, // string
required: false
required: true
}
],
exec: i => {
i.reply(i.options.getString("text"));
i.reply(i.options.getString("text") || "bruh");
}
},
{
@ -27,7 +27,7 @@ var commands = module.exports.commands = [
],
exec: i => {
let owo = Math.round(Math.random()) ? 'O' : 'o';
let n = Math.min(i.options.getNumber("length") || 9, 1998);
let n = Math.min(i.options.getInteger("length") || 9, 1998);
for (let i = 0; i < n; i++) owo += ['o','w','O','W'][Math.floor(Math.random() * 4)];
owo += owo = Math.round(Math.random()) ? 'O' : 'o';
i.reply(owo);