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/

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java我是否需要构造一个带有*非final*但不可变字段的不可变类?   java如何使用jaxb读取属性?   java为什么不打印空值以外的任何内容?   java Struts2如何在不使用struts的情况下重定向到操作。xml?   java方法参数未在其实现中使用   在Java中更改终端内部的变量   Spring中的java依赖项注入失败   java如何使用getAttribute Selenium防止获取重复的HREF   优先级队列的java顺序不符合预期   java如何使用Spring TaskExecutor在应用程序的所有请求中使用单个任务池   java Firebase RecyclerView不会从数据库中检索项目并将其显示在屏幕上。屏幕是空的   java将YUV_420_888转换为字节数组   spring停止使用Java缓存文件   java在执行maven clean安装时,我在eclipse智能家居中遇到了这种错误   stream Java=下载缓冲区未满?冲洗/缓冲是如何工作的?   查询SQL server时重置java JDBC连接   java如何避免在两个函数中使用相同的逻辑。   转换java。lang.Boolean到Scala Boolean