Weather,Nekbot的插件,一个用Python编写的模块化多协议机器人。
nekbot.plugins.weather的Python项目详细描述
天气插件。nekbot,一个用python编写的模块化多协议机器人。
用法:
!weather <place or coordinates>[ <moment: now, today, tomorrow... or datetime>] Return weather for now, today and tomorrow if moment is not given.
力矩键选项:
- now (or n).
- today (or ty).
- tomorrow (or tw).
- after-tomorrow (or aw).
示例:
!weather Madrid Now: Clear 18.9ºc ⚫ Today: Partly cloudy until evening. 16.8ºc min. 30.9ºc max. ⚫ Tomorrow: Clear throughout the day. 16.0ºc min. 34.1ºc max. !weather Madrid 01/02/1987 Clear 6.7ºc 6.7ºc RealFeel 0% humid. !weather Barcelona "20/10/2006 10:15" Partly Cloudy 20.3ºc 20.3ºc RealFeel 0% humid. wind 3.47km/h !weather Torrelodones tomorrow Clear throughout the day. 15.2ºc min. 33.9ºc max. 0% humid. wind 0.63km/h
你需要Nekbot才能使用这个插件。没有nekbot,这个插件不能工作。
https://bitbucket.org/Nekmo/nekbot-mirai/