Fixed random crash after toxic discord update
This commit is contained in:
parent
90d65db04e
commit
821342a505
@ -50,6 +50,7 @@ module.exports = {
|
||||
spoustece.forEach(sp => {
|
||||
if (mes.content.toLowerCase().includes(sp)) sance++;
|
||||
});
|
||||
if (rand(3) < sance) mes.react(emouty[rand(emouty.length)]);
|
||||
if (rand(3) < sance) mes.react(emouty[rand(emouty.length)])
|
||||
.catch(er => console.log("neco se doebalo:", er.message));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user