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使用ContentExchange设置请求属性   java Spark/Hdfs/Hdfsclient兼容性   java springcloudstreamkafka配置:instanceCount和instanceIndex   Java中web服务序列化日期   java用动态数据替换占位符   java git gc似乎覆盖了一个packfile,留下了一个打开的文件描述符,其中包含对“oldxxx.pack”的引用   为什么Apache项目对Java版本敏感?   java Anylogic帮助如何在导入的3dobject通过输送机上的多个“站”时更改其颜色?   JavaEclipseNeonM2E可以导入一个大型项目,但似乎不能自动解决依赖关系   java@FindBy搜索具有满足条件的子元素的元素   java如何将ActionEvent e与键绑定一起使用?   java转换以集中方式从外部库抛出的异常   java中用户文件/数据文件与系统/程序文件的区别   java使用变量字符串或字符作为对象名   字体使用Java图形操纵字符串中每个字符的形状   JavaFX图表移动数据   java RandomAccessFile:将所有项设置为相同的字节数?   java Google Play inapp Billing onPurchasesUpdated()错误响应代码1   java在不知道属性名和属性数的情况下处理json对象   java是否可以一次从HazelcastInstance(映射和列表)中删除所有数据?