Update normal.js

This commit is contained in:
det-fys 2020-12-23 22:30:03 +01:00 committed by GitHub
parent 3e97196d0f
commit 74ffebe394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ module.exports = (mes, komand, celArgs, client) => {
mes.channel.send('tak seš kokot?'); mes.channel.send('tak seš kokot?');
break; break;
} }
const vyherce = Math.ceil(Math.random()) ? mes.author : celArgs; const vyherce = Math.round(Math.random()) ? mes.author : celArgs;
mes.channel.send(`tento figh vyhrál: ${vyherce}!`); mes.channel.send(`tento figh vyhrál: ${vyherce}!`);
break; break;