### 描述
这是一个定时自动发送微信消息的脚本
### 参数介绍:
> optional arguments:
-h, --help show this help message and exit
--r 是否使用上次的记录
--sr 查看上次的记录
--time TIME 发送时间,格式为: 12:00:00
--delay DELAY 提前 or 延迟 多少秒发送,满了就减去,快了就加上
--who WHO 发送给谁,例如 张三
--msg MSG 消息内容,例如 今天天气真好
`pc端时间一般有误差。可以进入 https://time.is/zh/, 点击左上角 TIME.IS logo,可以查看本机时间差距。
慢了就将 delay 设置为负数,快了就设置为正数。如下所示:`
![](img/time_show.png)
> 示例:
```shell script
# 发送一条消息
wechat_auto.py --time=12:00:00 --delay=-0.3 --who=文件传输助手 --msg=今天天气真不错
# 执行上一次的命令
wechat_auto.py --r
# 查看上一次的命令
wechat_auto.py --sr
```
Raw data
{
"_id": null,
"home_page": "https://github.com/HiNoName/wechat_auto",
"name": "ls-wechat",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "wechat,auto",
"author": "shuai_li",
"author_email": "1216710774@qq.com",
"download_url": "",
"platform": null,
"description": "### \u63cf\u8ff0\n\u8fd9\u662f\u4e00\u4e2a\u5b9a\u65f6\u81ea\u52a8\u53d1\u9001\u5fae\u4fe1\u6d88\u606f\u7684\u811a\u672c\n\n### \u53c2\u6570\u4ecb\u7ecd\uff1a\n\n> optional arguments: \n -h, --help show this help message and exit \n --r \u662f\u5426\u4f7f\u7528\u4e0a\u6b21\u7684\u8bb0\u5f55 \n --sr \u67e5\u770b\u4e0a\u6b21\u7684\u8bb0\u5f55 \n --time TIME \u53d1\u9001\u65f6\u95f4\uff0c\u683c\u5f0f\u4e3a: 12:00:00 \n --delay DELAY \u63d0\u524d or \u5ef6\u8fdf \u591a\u5c11\u79d2\u53d1\u9001\uff0c\u6ee1\u4e86\u5c31\u51cf\u53bb\uff0c\u5feb\u4e86\u5c31\u52a0\u4e0a \n --who WHO \u53d1\u9001\u7ed9\u8c01\uff0c\u4f8b\u5982 \u5f20\u4e09 \n --msg MSG \u6d88\u606f\u5185\u5bb9\uff0c\u4f8b\u5982 \u4eca\u5929\u5929\u6c14\u771f\u597d \n\n \n`pc\u7aef\u65f6\u95f4\u4e00\u822c\u6709\u8bef\u5dee\u3002\u53ef\u4ee5\u8fdb\u5165 https://time.is/zh/\uff0c \u70b9\u51fb\u5de6\u4e0a\u89d2 TIME.IS logo\uff0c\u53ef\u4ee5\u67e5\u770b\u672c\u673a\u65f6\u95f4\u5dee\u8ddd\u3002 \n\u6162\u4e86\u5c31\u5c06 delay \u8bbe\u7f6e\u4e3a\u8d1f\u6570\uff0c\u5feb\u4e86\u5c31\u8bbe\u7f6e\u4e3a\u6b63\u6570\u3002\u5982\u4e0b\u6240\u793a:`\n\n![](img/time_show.png)\n \n> \u793a\u4f8b\uff1a \n\n```shell script\n# \u53d1\u9001\u4e00\u6761\u6d88\u606f\nwechat_auto.py --time=12:00:00 --delay=-0.3 --who=\u6587\u4ef6\u4f20\u8f93\u52a9\u624b --msg=\u4eca\u5929\u5929\u6c14\u771f\u4e0d\u9519 \n# \u6267\u884c\u4e0a\u4e00\u6b21\u7684\u547d\u4ee4\nwechat_auto.py --r\n# \u67e5\u770b\u4e0a\u4e00\u6b21\u7684\u547d\u4ee4\nwechat_auto.py --sr \n```\n\n \n \n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "\u5fae\u4fe1\u81ea\u52a8\u53d1\u9001\u6d88\u606f\u811a\u672c",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/HiNoName/wechat_auto"
},
"split_keywords": [
"wechat",
"auto"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c21e134711f05ce6b2f9d2586515f99f7fbeebdd6ca1757825db479962fbc686",
"md5": "7130e486f6e12e1a4a68e0caf0285a67",
"sha256": "7e87d930ad6216a9ad735dce6c09eb5d45ef58709df14893269483d0ed9388d8"
},
"downloads": -1,
"filename": "ls_wechat-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7130e486f6e12e1a4a68e0caf0285a67",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 11169,
"upload_time": "2023-12-12T03:10:52",
"upload_time_iso_8601": "2023-12-12T03:10:52.497240Z",
"url": "https://files.pythonhosted.org/packages/c2/1e/134711f05ce6b2f9d2586515f99f7fbeebdd6ca1757825db479962fbc686/ls_wechat-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-12 03:10:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "HiNoName",
"github_project": "wechat_auto",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ls-wechat"
}