From 67287b52205bacdc01183ac70650cc8b2120b5b4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 2 May 2021 09:38:19 -0400 Subject: [PATCH] Only chance if not directly used --- commands/auto/no-u.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/auto/no-u.js b/commands/auto/no-u.js index 8a04ac31..86efa4e1 100644 --- a/commands/auto/no-u.js +++ b/commands/auto/no-u.js @@ -12,7 +12,8 @@ module.exports = class NoUCommand extends Command { }); } - generateText() { + generateText(fromPattern) { + if (!fromPattern) return 'no u'; const chance = Boolean(Math.floor(Math.random() * 2)); if (chance) return null; return 'no u';