weatherbot:机器人电报

时间:2021-04-14 00:41:47
【文件属性】:
文件名称:weatherbot:机器人电报
文件大小:3KB
文件格式:ZIP
更新时间:2021-04-14 00:41:47
Python 气象电报机器人 1. pip install pyowm 2. pip install pyTelegramBotAPI==0.3.0 首先,您需要获得和令牌。 您可以阅读其文档中的详细说明。 # Insert your token from OWM into: owm = OWM ( 'TOKEN<' , config_dict ) # and token from telegram-bot into bot = telebot . TeleBot ( 'TOKEN' , parse_mode = None ) 我使用uncensored.txt作为检查器,您可以在其中添加不需要的表达式。 您的漫游器最后一次正确的响应已保存,可以通过应用程序下部的按钮使用。 运行脚本python Weather.py
【文件预览】:
weatherbot-master
----Weather.py(6KB)
----readme.md(844B)
----Uncens.txt(3B)

网友评论