mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-25 07:41:06 +01:00
feat: increase chance to 10%
This commit is contained in:
parent
c4dd11d3fc
commit
51576f410a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue