This commit is contained in:
Daniel Odendahl Jr
2017-09-27 16:49:37 +00:00
parent 9f1b9688ae
commit 8a70e44902
16 changed files with 88 additions and 18 deletions
+1
View File
@@ -47,6 +47,7 @@ module.exports = class WeatherCommand extends Command {
const embed = new MessageEmbed()
.setColor(0xFF7A09)
.setAuthor('OpenWeatherMap', 'https://i.imgur.com/tUd1MYB.png')
.setURL(`https://openweathermap.org/city/${body.id}`)
.setThumbnail(body.weather[0].icon ? `http://openweathermap.org/img/w/${body.weather[0].icon}.png` : null)
.setTimestamp()
.addField(' City',