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] });
|
mes.channel.send({ embed: pomoc[1] });
|
||||||
break;
|
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:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user