Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
support /delete_guild_role
Browse files Browse the repository at this point in the history
  • Loading branch information
whitechi73 authored Feb 2, 2024
1 parent bb26291 commit 41e1ba3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const children = {
'resources',
'dispose',
'group',
"guild",
'file',
'shamrock',
'other'
Expand Down
18 changes: 18 additions & 0 deletions docs/api/guild.md
Original file line number Diff line number Diff line change
Expand Up @@ -620,3 +620,21 @@ icon: user-group

该接口不会实现,因为您可以调用`/get_msg`来获取来自频道的消息,无需实现一个专属的接口。

## 删除频道角色

删除一个身份组,首先,你得保证你有权限,因为这个API不会提供任何返回数据哦!

### API 端点

`/delete_guild_role`

### 参数

| 字段 | 类型 | 说明 |
|---------|--------|--------|
| guild_id | uint64 | 频道ID |
| role_id | uint64 | 角色ID |

### 响应

> 该 API 无响应数据

0 comments on commit 41e1ba3

Please sign in to comment.