beep beep letuce

This commit is contained in:
loicbersier 2019-07-12 21:52:17 +02:00
parent 072ac50459
commit 90559158a1

View file

@ -32,7 +32,7 @@ class borgarCommand extends Command {
async exec(message, args) { async exec(message, args) {
if (args.time <= 0) args.time = 1; if (args.time <= 0) args.time = 1;
const ingredients = [ 'bun', 'beef', 'salade', 'tomato', 'cheese', 'pickle', 'onion', 'garlic', 'basil']; const ingredients = [ 'bun', 'beef', 'salade', 'tomato', 'cheese', 'pickle', 'onion', 'garlic', 'basil', 'letuce'];
let hamIngredient = []; let hamIngredient = [];
for (let i = 0; i < args.ingredientNumber; i++) { for (let i = 0; i < args.ingredientNumber; i++) {
hamIngredient[i] = ingredients[Math.floor( Math.random() * ingredients.length )]; hamIngredient[i] = ingredients[Math.floor( Math.random() * ingredients.length )];