Merge branch 'master' of https://gitlab.com/loicbersier/discordbot
This commit is contained in:
commit
946a974cab
1 changed files with 1 additions and 1 deletions
|
@ -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 )];
|
||||||
|
|
Loading…
Reference in a new issue