A wechat auto reply robot
Project description
wechat_auto
Function list
- 使用微信
文件助手实现远程控制,在文件助手中输入help获取所有命令列表 - 已经把自己删除的好友的名字定时保存在根目录
storage\deleted_friend文件中,留待用户手工清理 - 自动通过好友请求,打招呼信息保存在
wechat_auto.GREETING变量中,为长度为3的一个数组 - 定时给好友发送问候信息,信息内容当前为当日天气,根据好友自己设置的城市确定
- 如果好友的备注是“例外”那么无论如何都不会自动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,也就是关闭定时群消息功能
2
添加新功能,可以在所有群聊有新人加入的时候自动@新人打招呼,并且可是设置过滤名称,符合过滤名称的群聊不会自动打招呼
过滤变量为wechat_auto.FILTER_CHATROOM
打招呼信息变量为wechat_auto.MESSAGE_CHATRROM
Bug Fixed
改变了userid的获取方式,不会在调用图灵AI时出现userid错误的问题
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wechat_auto-0.6.0.tar.gz.
File metadata
- Download URL: wechat_auto-0.6.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebb047ad1e492a531035ce5c3f21db7a9680e80bbb0b535dfa576a059e4ffd6f
|
|
| MD5 |
151538b36249432a5c057a0918e0942c
|
|
| BLAKE2b-256 |
1477180a6aa764277660cd6222e701efcdc362b8db67797941d326952d5d194d
|
File details
Details for the file wechat_auto-0.6.0-py3-none-any.whl.
File metadata
- Download URL: wechat_auto-0.6.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
047cab770bb2359d7f26964774bc24b8c16498bc3e7bc79a197b43e479ed0517
|
|
| MD5 |
b635dda23e4bbb3bb3be7674ea77f312
|
|
| BLAKE2b-256 |
652c149a9234990a73994e54a348621320ce659c0c35b6e93866dcd4134a0948
|