mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Move some things around
This commit is contained in:
@@ -6,7 +6,7 @@ class PokedexCommand extends commando.Command {
|
||||
constructor(Client){
|
||||
super(Client, {
|
||||
name: 'pokedex',
|
||||
group: 'pokemon',
|
||||
group: 'search',
|
||||
memberName: 'pokedex',
|
||||
description: 'Gives the pokedex entry for a Pokemon. (;pokedex Pikachu)',
|
||||
examples: [';pokedex Pikachu']
|
||||
@@ -34,7 +34,9 @@ class PokedexCommand extends commando.Command {
|
||||
.addField('Type',
|
||||
pokedex.type[pokemon]);
|
||||
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 => {
|
||||
const embed = new Discord.RichEmbed()
|
||||
.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)
|
||||
.setTimestamp()
|
||||
.addField('**City:**',
|
||||
|
||||
Reference in New Issue
Block a user