mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 11:06:59 +01:00
fix yabai chances
This commit is contained in:
@@ -6,7 +6,7 @@ export default new Command('yabai',
|
|||||||
['yabai', 'goon'],
|
['yabai', 'goon'],
|
||||||
['moderator:manage:banned_users'],
|
['moderator:manage:banned_users'],
|
||||||
async (msg, user) => {
|
async (msg, user) => {
|
||||||
const rand = Math.floor(Math.random() * 100) + 1;
|
const rand = Math.floor(Math.random() * 101);
|
||||||
if (rand < 25) sendMessage(`${rand}% yabai! GIGACHAD`, msg.messageId);
|
if (rand < 25) sendMessage(`${rand}% yabai! GIGACHAD`, msg.messageId);
|
||||||
else if (rand < 50) sendMessage(`${rand}% yabai POGGERS`, msg.messageId);
|
else if (rand < 50) sendMessage(`${rand}% yabai POGGERS`, msg.messageId);
|
||||||
else if (rand === 50) sendMessage(`${rand}% yabai ok`, msg.messageId);
|
else if (rand === 50) sendMessage(`${rand}% yabai ok`, msg.messageId);
|
||||||
|
|||||||
Reference in New Issue
Block a user