Only chance if not directly used

This commit is contained in:
Dragon Fire
2021-05-02 09:38:19 -04:00
parent fef444242b
commit 67287b5220
+2 -1
View File
@@ -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';