mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
Oops
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = class PokemonFusionCommand extends Command {
|
|||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
key: 'body',
|
key: 'body',
|
||||||
prompt: 'What Pokémon should be fused?',
|
prompt: 'What Pokémon should be fused as the body?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
validate: body => {
|
validate: body => {
|
||||||
if (pokemon[body.toLowerCase()]) return true;
|
if (pokemon[body.toLowerCase()]) return true;
|
||||||
@@ -22,7 +22,7 @@ module.exports = class PokemonFusionCommand extends Command {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'palette',
|
key: 'palette',
|
||||||
prompt: 'What Pokémon should be fused?',
|
prompt: 'What Pokémon should be fused as the palette?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
validate: palette => {
|
validate: palette => {
|
||||||
if (pokemon[palette.toLowerCase()]) return true;
|
if (pokemon[palette.toLowerCase()]) return true;
|
||||||
@@ -36,6 +36,6 @@ module.exports = class PokemonFusionCommand extends Command {
|
|||||||
|
|
||||||
run(msg, args) {
|
run(msg, args) {
|
||||||
const { body, palette } = args;
|
const { body, palette } = args;
|
||||||
return msg.say(`http://images.alexonsager.net/pokemon/fused/${body}/${palette}.${body}.png`);
|
return msg.say(`http://images.alexonsager.net/pokemon/fused/${body}/${body}.${palette}.png`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user