Add /chal alias for /chall

This commit is contained in:
Guangcong Luo
2020-04-04 09:05:51 -04:00
parent d6ee0a1d87
commit 721eb5547f
2 changed files with 2 additions and 1 deletions

View File

@@ -436,6 +436,7 @@
}
switch (cmd.toLowerCase()) {
case 'chal':
case 'chall':
case 'challenge':
var targets = target.split(',');

View File

@@ -723,7 +723,7 @@ class BattleSearch {
}
}
if (BattleMovedex[i].gen > this.gen) continue;
if (BattleMovedex[i].isZ || BattleMovedex[i].isMax ||BattleMovedex[i].isNonstandard) continue;
if (BattleMovedex[i].isZ || BattleMovedex[i].isMax || BattleMovedex[i].isNonstandard) continue;
moves.push(i);
}
}