来源信息
- 仓库
- CoderWanFeng/python-office
- 最近来源活动
- 2026年8月4日 13:18
- 检测到的 SKILL.md 语言
- 中文
- 星标
- 1,371
- Forks
- 305
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- send_message_by_time
- description
- 通过微信在指定时间向联系人发送定时消息。当用户提到定时发微信、微信定时消息、预约发微信时使用。
# send_message_by_time Skill
> 在指定时间发送消息给指定联系人
## 功能描述
通过微信自动化,在指定时间向联系人发送一条消息(定时消息)。
## 所属分类
`office/skills/wechat/send_message_by_time/`
## 调用方式
```python
from skills.wechat import send_message_by_time
send_message_by_time(
who='文件传输助手',
message='该起床了',
time='08:00:00'
)
```
## 参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `who` | str | 是 | - | 接收消息的联系人名称 |
| `message` | str | 是 | - | 要发送的消息内容 |
| `time` | str | 是 | - | 发送消息的预定时间 |
## 返回值
`None`
## 使用示例
```python
from skills.wechat import send_message_by_time
send_message_by_time(who='文件传输助手', message='早安', time='08:00:00')
```
## 原始函数
`office.api.wechat.send_message_by_time`
在 GitHub 查看