mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Move some things around
This commit is contained in:
@@ -6,7 +6,7 @@ class PokedexCommand extends commando.Command {
|
|||||||
constructor(Client){
|
constructor(Client){
|
||||||
super(Client, {
|
super(Client, {
|
||||||
name: 'pokedex',
|
name: 'pokedex',
|
||||||
group: 'pokemon',
|
group: 'search',
|
||||||
memberName: 'pokedex',
|
memberName: 'pokedex',
|
||||||
description: 'Gives the pokedex entry for a Pokemon. (;pokedex Pikachu)',
|
description: 'Gives the pokedex entry for a Pokemon. (;pokedex Pikachu)',
|
||||||
examples: [';pokedex Pikachu']
|
examples: [';pokedex Pikachu']
|
||||||
@@ -34,7 +34,9 @@ class PokedexCommand extends commando.Command {
|
|||||||
.addField('Type',
|
.addField('Type',
|
||||||
pokedex.type[pokemon]);
|
pokedex.type[pokemon]);
|
||||||
message.channel.sendEmbed(embed).catch(console.error);
|
message.channel.sendEmbed(embed).catch(console.error);
|
||||||
} else {message.channel.sendMessage(":x: This Pokémon either doesn't exist, or isn't implemented yet.");}
|
} else {
|
||||||
|
message.channel.sendMessage(":x: This Pokémon either doesn't exist, or isn't implemented yet.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ class WeatherCommand extends commando.Command {
|
|||||||
weather(locationtosearch, 'f').then(info => {
|
weather(locationtosearch, 'f').then(info => {
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setColor(0x0000FF)
|
.setColor(0x0000FF)
|
||||||
.setAuthor(info.title, 'http://static.dnaindia.com/sites/default/files/2015/08/21/367776-yahoo2.jpg')
|
.setAuthor(info.title, 'http://media.idownloadblog.com/wp-content/uploads/2013/12/yahoo-weather-213x220.png')
|
||||||
.setURL(info.link)
|
.setURL(info.link)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.addField('**City:**',
|
.addField('**City:**',
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ client.registry
|
|||||||
['avataredit', 'Avatar Manipulation'],
|
['avataredit', 'Avatar Manipulation'],
|
||||||
['textedit', 'Text Manipulation'],
|
['textedit', 'Text Manipulation'],
|
||||||
['search', 'Search'],
|
['search', 'Search'],
|
||||||
['pokemon', 'Pokémon'],
|
|
||||||
['random', 'Random/Other'],
|
['random', 'Random/Other'],
|
||||||
['roleplay', 'Roleplay']
|
['roleplay', 'Roleplay']
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user