forked from Supositware/Haha-Yes
if time is less or equal to 0, set it to 1
This commit is contained in:
parent
b66baae486
commit
db642cbd76
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ class borgarCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
if (args.time <= 0) args.time = 1;
|
||||||
const ingredient = [ 'bun', 'beef', 'salade', 'tomato', 'cheese', 'pickle'];
|
const ingredient = [ 'bun', 'beef', 'salade', 'tomato', 'cheese', 'pickle'];
|
||||||
let hamIngredient = [];
|
let hamIngredient = [];
|
||||||
for (let i = 0; i < args.ingredientNumber; i++) {
|
for (let i = 0; i < args.ingredientNumber; i++) {
|
||||||
|
|
Loading…
Reference in a new issue