Random un-fekal formating

This commit is contained in:
Histmy 2020-12-27 00:27:23 +01:00
parent 74ffebe394
commit 9855da6d11
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ module.exports = (mes, komand, celArgs, client) => {
case 'uraz':
mes.channel.send(`${celArgs} , u suck`);
break;
case 'nazor':
case 'názor':
mes.channel.send([`mam rad ${celArgs}`, `${celArgs} je picovina`][rand(2)]);

View File

@ -17,7 +17,7 @@ function vypocitatCas(vojsl) {
d.setHours(hod);
d.setMinutes(min);
d.setSeconds(0);
setTimeout(function() {
rekniCas(vojsl, `${nula(hod)}${nula(min)}`);
}, d - c + 3000);
@ -28,11 +28,11 @@ function rekniCas(vojsl, cas) {
const d1 = vojsl.play(`./zvuky/intro.mp3`);
d1.on('finish', function () {
const d2 = vojsl.play(`./zvuky/${cas}.mp3`);
d2.on('finish', function () {
d2.on('finish', function () {
vojsl.play(`./zvuky/grg.mp3`);
});
});
vypocitatCas(vojsl);
}