// weather - get weather information of Daejon func handler_weather(bot *telebot.Bot, msg telebot.Message, args []string) { bot.SendChatAction(msg.Chat, "typing") if !check_external("weather", "2") { bot.SendMessage(msg.Chat, "Fatal(0x4)", nil) return } bot.SendMessage(msg.Chat, datafmt("weather", get_data("weather")), nil) }