mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Remove all useless async
This commit is contained in:
@@ -50,10 +50,10 @@ module.exports = class WeatherCommand extends commando.Command {
|
||||
info.wind.direction, true)
|
||||
.addField('**Wind Speed:**',
|
||||
info.wind.speed, true);
|
||||
message.channel.sendEmbed(embed);
|
||||
return message.channel.sendEmbed(embed);
|
||||
}
|
||||
catch (err) {
|
||||
message.channel.send(":x: Error! Make sure you typed the location correctly!");
|
||||
return message.channel.send(":x: Error! Make sure you typed the location correctly!");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user