Skip to main content

A wechat auto reply robot

Project description

wechat_auto

Function list

  1. 使用微信文件助手实现远程控制,在文件助手中输入help获取所有命令列表
  2. 已经把自己删除的好友的名字定时保存在根目录storage\deleted_friend文件中,留待用户手工清理
  3. 自动通过好友请求,打招呼信息保存在wechat_auto.GREETING变量中,为长度为3的一个数组
  4. 定时给好友发送问候信息,信息内容当前为当日天气,根据好友自己设置的城市确定
  5. 如果好友的备注是“例外”那么无论如何都不会自动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


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.6.1.tar.gz (8.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.6.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wechat_auto-0.6.1.tar.gz
Algorithm Hash digest
SHA256 612244c908bbddae1db0e07f8db99f68dd6e5b78b27214727321979d9e24a8ea
MD5 1ee8b0e260310359377f447ce9e93a69
BLAKE2b-256 e19b7c4666054ba6ae44d162609607c77c5cbf51d9d8f6a8d259d45d365df521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wechat_auto-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6edcc3fe9be9935ae883ec77f886b08f03986ac9e143706c2e4d09982fcf588
MD5 70c270841331f759b0d0875f1cdcd449
BLAKE2b-256 1361e750e66295161d9987b91ca4c3ea82dc0494f32fa4ecdb23b3573336eab4

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