mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +02:00
Oops
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = class PokemonFusionCommand extends Command {
|
|||||||
prompt: 'What Pokemon should be fused?',
|
prompt: 'What Pokemon should be fused?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
validate: (source1) => {
|
validate: (source1) => {
|
||||||
if (pokemon.includes(source1.toLowerCase())) return true;
|
if (pokemon[source1.toLowerCase()]) return true;
|
||||||
else return 'Only Pokemon from Generation 1 may be used.';
|
else return 'Only Pokemon from Generation 1 may be used.';
|
||||||
},
|
},
|
||||||
parse: (source1) => pokemon[source1.toLowerCase()]
|
parse: (source1) => pokemon[source1.toLowerCase()]
|
||||||
@@ -25,7 +25,7 @@ module.exports = class PokemonFusionCommand extends Command {
|
|||||||
prompt: 'What Pokemon should be fused?',
|
prompt: 'What Pokemon should be fused?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
validate: (source2) => {
|
validate: (source2) => {
|
||||||
if (pokemon.includes(source2.toLowerCase())) return true;
|
if (pokemon[source2.toLowerCase()]) return true;
|
||||||
else return 'Only Pokemon from Generation 1 may be used.';
|
else return 'Only Pokemon from Generation 1 may be used.';
|
||||||
},
|
},
|
||||||
parse: (source2) => pokemon[source2.toLowerCase()]
|
parse: (source2) => pokemon[source2.toLowerCase()]
|
||||||
|
|||||||
Reference in New Issue
Block a user