### 描述
这是一个定时自动发送微信消息的脚本
### 参数介绍:
> optional arguments:
-h, --help show this help message and exit
--r 是否使用上次的记录
--sr 查看上次的记录
--time TIME 发送时间,格式为: 12:00:00
--delay DELAY 提前 or 延迟 多少秒发送,满了就减去,快了就加上
--who WHO 发送给谁,例如 张三
--msg MSG 消息内容,例如 今天天气真好
time、delay、who、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": "wechat-auto-ls",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "wechat",
"author": "shuai_li",
"author_email": "1216710774@qq.com",
"download_url": "https://files.pythonhosted.org/packages/9f/22/4babfb5f080c8eb3087652a2e46e2b4994aaa7ccac11f16f4702004eea4d/wechat_auto_ls-1.0.tar.gz",
"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\ntime\u3001delay\u3001who\u3001msg\u5fc5\u987b\u4e00\u8d77\u4f7f\u7528\u3002 \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\u6d88\u606f\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"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "88c6b65012c631ba58e553ffec0087d5f708a6a042c4136e5e7bda837e822e65",
"md5": "674803a7bb5a28c35259f27504c08e7d",
"sha256": "7f9220957b68ddc2c103e0db558111ea4b7db79bf03dccdf3b173f959af44e8a"
},
"downloads": -1,
"filename": "wechat_auto_ls-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "674803a7bb5a28c35259f27504c08e7d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11273,
"upload_time": "2023-12-09T08:36:42",
"upload_time_iso_8601": "2023-12-09T08:36:42.937799Z",
"url": "https://files.pythonhosted.org/packages/88/c6/b65012c631ba58e553ffec0087d5f708a6a042c4136e5e7bda837e822e65/wechat_auto_ls-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9f224babfb5f080c8eb3087652a2e46e2b4994aaa7ccac11f16f4702004eea4d",
"md5": "fe93aa58ca46e9adc91dbbdf4c1666a0",
"sha256": "b1425d11a41e293fd69d12e9afa74c934f255a6520887fadb88cdd1104318e4b"
},
"downloads": -1,
"filename": "wechat_auto_ls-1.0.tar.gz",
"has_sig": false,
"md5_digest": "fe93aa58ca46e9adc91dbbdf4c1666a0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 8460,
"upload_time": "2023-12-09T08:36:44",
"upload_time_iso_8601": "2023-12-09T08:36:44.846322Z",
"url": "https://files.pythonhosted.org/packages/9f/22/4babfb5f080c8eb3087652a2e46e2b4994aaa7ccac11f16f4702004eea4d/wechat_auto_ls-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-09 08:36:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "HiNoName",
"github_project": "wechat_auto",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "wechat-auto-ls"
}