Skip to content

Commit

Permalink
Update member.md
Browse files Browse the repository at this point in the history
bot.muteGuildMember 的 duration 参数并非可选
  • Loading branch information
windbullet authored Jun 28, 2024
1 parent e2cfedb commit a94cc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-CN/api/resources/member.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface GuildMember {

将某个用户踢出群组。

### bot.muteGuildMember(guildId, userId, duration?, reason?) <badge type="warning">实验性</badge>
### bot.muteGuildMember(guildId, userId, duration, reason?) <badge type="warning">实验性</badge>

- **guildId:** `string` 群组 ID
- **userId:** `string` 用户 ID
Expand Down

0 comments on commit a94cc33

Please sign in to comment.