Skip to content

A plugin for wechat-gptbot that offers you daily weather report for free🎉

Notifications You must be signed in to change notification settings

iuiaoin/plugin_weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Getting Start

Add the following config in your wechat-gptbot's config.json:

 "plugins": [
  {
    "name": "weather",
    "city": "北京",                                 # The city of the weather report
    "schedule_time": "08:00",                      # The scheduled time
    "single_chat_list": ["wxid_dierxe23232kye67"], # Single chat id aka sender_id, send a message then you can get it from console
    "group_chat_list": ["8393042746@chatroom"],    # Group chat id aka room_id, send a message in chat group then you can get it from console
    "app_id": "84759372",                          # app id for weather api
    "app_secret": "049uhKIL"                       # app secret for weather api
  }
]

app_id and app_secret can be obtained from https://www.tianqiapi.com/index/doc?version=day for free.

Then the weather report will be sent to the group chat and private chat in the configuration every day~

About

A plugin for wechat-gptbot that offers you daily weather report for free🎉

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages