better weather
This commit is contained in:
parent
89507a7d51
commit
2af954501c
@ -41,12 +41,13 @@ namespace NadekoBot.Modules {
|
|||||||
var obj = JObject.Parse(response)["weather"];
|
var obj = JObject.Parse(response)["weather"];
|
||||||
|
|
||||||
await e.Channel.SendMessage(
|
await e.Channel.SendMessage(
|
||||||
$@"**`Location:`【{obj["target"]}】
|
$@"🌍 **Weather for** 【{obj["target"]}】
|
||||||
`Temp:` {obj["centigrade"]}°C, {obj["condition"]} `Feels like:` {obj["feelscentigrade"]}°C
|
📏 **Lat,Long:** ({obj["latitude"]}, {obj["longitude"]}) ☁ **Condition:** {obj["condition"]}
|
||||||
`Wind:` {obj["windspeedk"]}km/h {obj["winddir"]} `Humidity:` {obj["humidity"]}%**");
|
😓 **Humidity:** {obj["humidity"]}% 💨 **Wind Speed:** {obj["windspeedm"]}mph / {obj["windspeedk"]}km/h
|
||||||
|
🔆 **Temperature:** {obj["centigrade"]}°C / {obj["fahrenheit"]}°F 🔆 **Feels like:** {obj["feelscentigrade"]}°C / {obj["feelsfahrenheit"]}°F
|
||||||
|
🌄 **Sunrise:** {obj["sunrise"]} 🌇 **Sunset:** {obj["sunset"]}");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
cgb.CreateCommand(Prefix + "yt")
|
cgb.CreateCommand(Prefix + "yt")
|
||||||
.Parameter("query", ParameterType.Unparsed)
|
.Parameter("query", ParameterType.Unparsed)
|
||||||
.Description("Searches youtubes and shows the first result")
|
.Description("Searches youtubes and shows the first result")
|
||||||
|
Loading…
Reference in New Issue
Block a user