Баги, откуда, не знаю

This commit is contained in:
JonnyBro 2022-01-01 14:36:16 +05:00
parent 566a959900
commit 0dab5ea44a

View file

@ -46,7 +46,7 @@ class Slots extends Command {
return Math.round(number); return Math.round(number);
}; };
const tmsg = await message.sendT("misc:loading", null, { const tmsg = await message.sendT("misc:PLEASE_WAIT", null, {
prefixEmoji: "loading" prefixEmoji: "loading"
}); });
editMsg(); editMsg();
@ -147,7 +147,7 @@ class Slots extends Command {
}; };
function editMsg() { function editMsg() {
let msg = "[ :slot_machine: l SLOTS ]\n------------------\n"; let msg = "[ :slot_machine: | **СЛОТЫ** ]\n------------------\n";
i1 = (i1 < fruits.length - 1) ? i1 + 1 : 0; i1 = (i1 < fruits.length - 1) ? i1 + 1 : 0;
i2 = (i2 < fruits.length - 1) ? i2 + 1 : 0; i2 = (i2 < fruits.length - 1) ? i2 + 1 : 0;