Move some things around

This commit is contained in:
dragonfire535
2017-03-04 18:13:53 -05:00
parent 9966b24946
commit e4c10ade07
4 changed files with 5 additions and 4 deletions
@@ -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.");
}
} }
} }
+1 -1
View File
@@ -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:**',
-1
View File
@@ -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']
]) ])