From 41e1ba3aa86c2e6a0683c260070c65affcedcd81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E6=B1=A0?= <98259561+whitechi73@users.noreply.github.com> Date: Sat, 3 Feb 2024 06:02:04 +0800 Subject: [PATCH] support `/delete_guild_role` --- docs/.vuepress/config/sidebar.ts | 1 + docs/api/guild.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/docs/.vuepress/config/sidebar.ts b/docs/.vuepress/config/sidebar.ts index a583df1d..b0d0c158 100644 --- a/docs/.vuepress/config/sidebar.ts +++ b/docs/.vuepress/config/sidebar.ts @@ -12,6 +12,7 @@ const children = { 'resources', 'dispose', 'group', + "guild", 'file', 'shamrock', 'other' diff --git a/docs/api/guild.md b/docs/api/guild.md index 303ce4e7..6603ae4a 100644 --- a/docs/api/guild.md +++ b/docs/api/guild.md @@ -620,3 +620,21 @@ icon: user-group 该接口不会实现,因为您可以调用`/get_msg`来获取来自频道的消息,无需实现一个专属的接口。 +## 删除频道角色 + +删除一个身份组,首先,你得保证你有权限,因为这个API不会提供任何返回数据哦! + +### API 端点 + +`/delete_guild_role` + +### 参数 + +| 字段 | 类型 | 说明 | +|---------|--------|--------| +| guild_id | uint64 | 频道ID | +| role_id | uint64 | 角色ID | + +### 响应 + +> 该 API 无响应数据 \ No newline at end of file