Finally added more odpočítej
This commit is contained in:
parent
6688062719
commit
d1924bd0f1
@ -49,9 +49,19 @@ module.exports = {
|
||||
mes.channel.send({ embed: pomoc[1] });
|
||||
break;
|
||||
|
||||
case "odpocitej":
|
||||
case "odpočítej":
|
||||
const randomshit = (dalsi, argument) => {
|
||||
dalsi.edit(argument[0]);
|
||||
argument.splice(0, 1);
|
||||
if (argument.length) setTimeout(() => randomshit(dalsi, argument), 1000);
|
||||
};
|
||||
mes.channel.send(":stop_button:").then(mes => randomshit(mes, [":five:", ":four:", ":three:", ":two:", ":one:", ":ok:"]));
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user