Skip to main content

微信自动发送消息脚本

Project description

描述

这是一个定时自动发送微信消息的脚本

参数介绍:

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 设置为负数,快了就设置为正数。如下所示:

示例:

# 发送一条消息
wechat_auto.py --time=12:00:00 --delay=-0.3 --who=文件传输助手 --msg=今天天气真不错  
# 执行上一次的命令
wechat_auto.py --r
# 查看上一次的命令
wechat_auto.py --sr 

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ls_wechat-1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file ls_wechat-1.0-py3-none-any.whl.

File metadata

  • Download URL: ls_wechat-1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for ls_wechat-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e87d930ad6216a9ad735dce6c09eb5d45ef58709df14893269483d0ed9388d8
MD5 7130e486f6e12e1a4a68e0caf0285a67
BLAKE2b-256 c21e134711f05ce6b2f9d2586515f99f7fbeebdd6ca1757825db479962fbc686

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