fix(arabot): fix april with bad number comparison

This commit is contained in:
smyalygames 2023-04-02 00:39:58 +01:00
parent 2cc0e5572b
commit 126c7445db

View File

@ -29,12 +29,12 @@ export class AprilMessageListener extends Listener {
} }
public async run(message: Message) { public async run(message: Message) {
if (Math.random() < 0.01) { if (Math.random() < 0.02) {
await message.react('<a:dantasvibe:976309036754538676>'); await message.react('<a:dantasvibe:976309036754538676>');
} else if (Math.random() > 0.98) { } else if (Math.random() > 0.999) {
await message.channel.send('anthony is the worst coordinator, fucking demote them already');
} else if (Math.random() > 0.99) {
await message.reply('owo'); await message.reply('owo');
} else if (Math.random() > 0.998) {
await message.channel.send('anthony is the worst coordinator, fucking demote them already');
} }
} }
} }