Skip to main content

A wechat auto reply robot

Project description

# wechat_auto

## Function list

1. weather.py 定时获取当天所有天气的预报数据,保存到本地,之后通过调用则返回本地数据
2. 控制台完成
3. 问候接口完成,可以动态设置时间
4. 根据系统提示存储已删好友信息,定期清理好友列表
5. 自动通过好友请求,打招呼并提醒关注公众号
6. 默认打乱好友列表,定时消息只给有限数量的人发送,数量保存在MAX_COUNT全局变量,默认是100
7. 如果好友的备注是“例外”那么无论如何都不会自动AI回复

## Specification

根目录下必须有storage文件夹用来存放数据,
storage文件夹下须有city.json文件告诉组件需要提前请求哪些城市的天气情况
具体格式参考github上的模板

# New features

1. 添加新功能,可以给制定群定时发送消息,消息内容在`/storage/joke`文件中读取,每条消息由'|'符号分割。
消息间隔时间在`wechat_auto.CHATROOM_SPAN`定义,默认为1小时,也就是3600秒。
群名称由`wechat_auto.CHATROOM_NAME`定义,默认是"哈哈哈哈哈哈哈"
`wechat_auto.SWITCH_CHATROOM`默认为False,也就是关闭定时群消息功能

# Bug Fixed
改变了userid的获取方式,不会在调用图灵AI时出现userid错误的问题

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wechat_auto-0.5.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wechat_auto-0.5.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file wechat_auto-0.5.0.tar.gz.

File metadata

  • Download URL: wechat_auto-0.5.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wechat_auto-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8d8f5e5b43f52bfb982292556ff99d00ec005c4458f7b89f1efea772bcd253a5
MD5 92b95b2d96edd05112d983942c7da539
BLAKE2b-256 e942138ba1e185599b9bc578894c64154498be9ad30adfa648ff27452bc63382

See more details on using hashes here.

File details

Details for the file wechat_auto-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wechat_auto-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31bf5c13893b13f6cb9611ee04876ad5987825cbaa381b6eb5e9ad83bc96f8d9
MD5 1c99f281b59221a48fd648e68121f998
BLAKE2b-256 c8c75ef3c7ce78f5deb5135045697b2f751a3d9904d1910050a92771f84cc94e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page