mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
support /delete_guild_role
This commit is contained in:
parent
bb26291b75
commit
41e1ba3aa8
@ -12,6 +12,7 @@ const children = {
|
||||
'resources',
|
||||
'dispose',
|
||||
'group',
|
||||
"guild",
|
||||
'file',
|
||||
'shamrock',
|
||||
'other'
|
||||
|
@ -620,3 +620,21 @@ icon: user-group
|
||||
|
||||
该接口不会实现,因为您可以调用`/get_msg`来获取来自频道的消息,无需实现一个专属的接口。
|
||||
|
||||
## 删除频道角色
|
||||
|
||||
删除一个身份组,首先,你得保证你有权限,因为这个API不会提供任何返回数据哦!
|
||||
|
||||
### API 端点
|
||||
|
||||
`/delete_guild_role`
|
||||
|
||||
### 参数
|
||||
|
||||
| 字段 | 类型 | 说明 |
|
||||
|---------|--------|--------|
|
||||
| guild_id | uint64 | 频道ID |
|
||||
| role_id | uint64 | 角色ID |
|
||||
|
||||
### 响应
|
||||
|
||||
> 该 API 无响应数据
|
Loading…
x
Reference in New Issue
Block a user