feat: increase chance to 10%

This commit is contained in:
Jozef Steinhübl 2024-03-31 21:02:15 +02:00
parent c4dd11d3fc
commit 51576f410a

View file

@ -32,8 +32,8 @@ function handleBunOnlyChannel(message: Message): boolean {
return true;
}
// 1% chance to react with a random bun emoji
if (Math.floor(Math.random() * 100) === 0) {
// 10% chance to react with a random bun emoji
if (Math.floor(Math.random() * 100) < 0) {
const emoji = getRandomBunEmoji();
message.react(`${emoji.name}:${emoji.id}`, true);
return true;