Skip to content

🌧 A Telegram weather forecast bot based on the QWeather API

License

Notifications You must be signed in to change notification settings

daya0576/he-weather-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4a0bc69 · Jul 20, 2024
May 7, 2023
Jul 24, 2021
Jul 16, 2024
Apr 30, 2023
Apr 30, 2023
Oct 30, 2023
Oct 30, 2023
Mar 28, 2021
Apr 29, 2023
Dec 3, 2022
Jul 20, 2024
Feb 13, 2021
May 2, 2023
Oct 30, 2023
Oct 30, 2023
Oct 30, 2023

Repository files navigation

🌧 QWeatherBot:基于和风天气的 Telegram 机器人

Active users GitHub release (latest by date) Uptime Robot ratio (30 days)

✨ Features

  • 支持发送定位或地名关键词设置所在地
  • 支持当日气温范围、晚间天气、天气灾害预警、次日天气播报
  • 支持自定义时间订阅天气,自动推送
  • 极端灾害天气预警(暴雨、台风等)
  • 钉钉机器人消息同步
  • 多语言支持

👉 使用说明

无需部署开箱即用,戳链接调戏我:t.me/he_weather_bot

help - 帮助
weather - 获取实时天气(最近两天)
weather_6h - 获取实时天气(最近六小时)
set_location - 更新位置
subscribe - 开启订阅
unsubscribe - 关闭订阅
set_ding_bot - 新增钉钉机器人同步
delete_ding_bot - 移除钉钉同步
add_sub_locations - 新增子位置(支持多个)
delete_sub_locations - 移除子位置

🚀 实现原理

《如何零成本制作一个 telegram 机器人》

FAQ

Q. 有考虑支持多地区订阅吗(比如关心亲朋好友和出差人员)?
支持 add_sub_locations 命令添加子城市,delete_sub_locations 命令清除。

Q. 如何在群中播报?
第一步:在群用户里添加机器人
第二步:在群的输入框输入 / 符号,根据自动提示,点击输入 /help
第三步:点击卡片的“定时订阅”修改推送的时间

Q. 希望能支持 docker 部署 ,还有说明一下,哪些参数要改?
WIP..