From f7e14f9b2499d8a8c3ac2a0dae6d1e1112caaa4c Mon Sep 17 00:00:00 2001 From: This-is-XiaoDeng Date: Sun, 3 Mar 2024 10:23:13 +0000 Subject: [PATCH] deploy: f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580 --- 404.html | 2 +- artifacts.json | 198 ++++++++++++++++++++++----------------------- config.html | 2 +- diff-v11.html | 2 +- differences.html | 2 +- download.html | 2 +- hashmap.json | 2 +- index.html | 2 +- join-discord.html | 2 +- quickstart.html | 2 +- slash-command.html | 2 +- 11 files changed, 109 insertions(+), 109 deletions(-) diff --git a/404.html b/404.html index 7171b46..9ca569e 100644 --- a/404.html +++ b/404.html @@ -15,7 +15,7 @@
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- + \ No newline at end of file diff --git a/artifacts.json b/artifacts.json index 8fe3f16..4a9f6b4 100644 --- a/artifacts.json +++ b/artifacts.json @@ -2,174 +2,174 @@ "total_count": 9, "artifacts": [ { - "id": 1292574279, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjc5", - "name": "OneDisc 0.2.6.5 for macos-latest-arm64", - "size_in_bytes": 33158592, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574279", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574279/zip", + "id": 1292684190, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTkw", + "name": "OneDisc 0.2.6.2 for macos-latest-arm64", + "size_in_bytes": 22655856, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684190", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684190/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:50:41Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:33Z", + "expires_at": "2024-06-01T10:21:51Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574281, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjgx", - "name": "OneDisc 0.2.6.5 for macos-latest-x64", - "size_in_bytes": 33158592, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574281", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574281/zip", + "id": 1292684192, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTky", + "name": "OneDisc 0.2.6.2 for macos-latest-x64", + "size_in_bytes": 22655856, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684192", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684192/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:49:58Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:33Z", + "expires_at": "2024-06-01T07:17:58Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574282, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjgy", - "name": "OneDisc 0.2.6.5 for macos-latest-x86", - "size_in_bytes": 33158592, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574282", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574282/zip", + "id": 1292684193, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTkz", + "name": "OneDisc 0.2.6.2 for macos-latest-x86", + "size_in_bytes": 22655856, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684193", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684193/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:48:05Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T07:14:30Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574283, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjgz", - "name": "OneDisc 0.2.6.5 for ubuntu-latest-arm64", - "size_in_bytes": 41932042, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574283", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574283/zip", + "id": 1292684194, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTk0", + "name": "OneDisc 0.2.6.2 for ubuntu-latest-arm64", + "size_in_bytes": 30548883, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684194", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684194/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:07:20Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T06:57:24Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574284, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjg0", - "name": "OneDisc 0.2.6.5 for ubuntu-latest-x64", - "size_in_bytes": 41932671, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574284", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574284/zip", + "id": 1292684195, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTk1", + "name": "OneDisc 0.2.6.2 for ubuntu-latest-x64", + "size_in_bytes": 30548913, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684195", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684195/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:07:13Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T06:57:04Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574285, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjg1", - "name": "OneDisc 0.2.6.5 for ubuntu-latest-x86", - "size_in_bytes": 41932303, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574285", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574285/zip", + "id": 1292684196, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTk2", + "name": "OneDisc 0.2.6.2 for ubuntu-latest-x86", + "size_in_bytes": 30548883, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684196", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684196/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:08:15Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T06:56:59Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574286, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjg2", - "name": "OneDisc 0.2.6.5 for windows-latest-arm64", - "size_in_bytes": 25575936, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574286", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574286/zip", + "id": 1292684197, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTk3", + "name": "OneDisc 0.2.6.2 for windows-latest-arm64", + "size_in_bytes": 17844224, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684197", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684197/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:20:19Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T07:02:18Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574287, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjg3", - "name": "OneDisc 0.2.6.5 for windows-latest-x64", - "size_in_bytes": 25575936, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574287", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574287/zip", + "id": 1292684199, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MTk5", + "name": "OneDisc 0.2.6.2 for windows-latest-x64", + "size_in_bytes": 17844224, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684199", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684199/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:20:51Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T07:01:39Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } }, { - "id": 1292574289, - "node_id": "MDg6QXJ0aWZhY3QxMjkyNTc0Mjg5", - "name": "OneDisc 0.2.6.5 for windows-latest-x86", - "size_in_bytes": 25575936, - "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574289", - "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292574289/zip", + "id": 1292684201, + "node_id": "MDg6QXJ0aWZhY3QxMjkyNjg0MjAx", + "name": "OneDisc 0.2.6.2 for windows-latest-x86", + "size_in_bytes": 17844224, + "url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684201", + "archive_download_url": "https://api.github.com/repos/ITCraftDevelopmentTeam/OneDisc/actions/artifacts/1292684201/zip", "expired": false, - "created_at": "2024-03-03T07:51:07Z", - "updated_at": "2024-03-03T07:51:08Z", - "expires_at": "2024-06-01T07:21:24Z", + "created_at": "2024-03-03T10:22:33Z", + "updated_at": "2024-03-03T10:22:34Z", + "expires_at": "2024-06-01T07:01:40Z", "workflow_run": { - "id": 8128418399, + "id": 8128417329, "repository_id": 697880638, "head_repository_id": 697880638, "head_branch": "master", - "head_sha": "f4b4bf8e9be1cbdb6f89250b11b84b4f0c480580" + "head_sha": "285309b1b22f54dbeca18d2d6c044d2c2fd841a6" } } ] diff --git a/config.html b/config.html index a63c7fd..97dce27 100644 --- a/config.html +++ b/config.html @@ -80,7 +80,7 @@ "use_universal_client": false, "access_token": null }
项目类型必须默认值说明
type字符串连接类型,为ws-reverse
protocol_version数字12协议版本,为 11
url字符串WebSocket 服务器地址
api_url字符串WebSocket API 服务器地址,为空时填入 url 字段的配置
event_url字符串WebSocket Event 服务器地址,为空时填入 url 字段的配置
use_universal_client布尔false是否启用 WebSocket Universal 客户端
access_token字符串/空null访问令牌
- + \ No newline at end of file diff --git a/diff-v11.html b/diff-v11.html index e9f3dbd..5f50655 100644 --- a/diff-v11.html +++ b/diff-v11.html @@ -18,7 +18,7 @@
Skip to content

标准差异细节 (OneBot V11)

本页面是 OneDisc 与 OneBot V11 标准差异的详细说明,与 OneBot V12 的偏差请查看 本页面

支持受限的内容

事件

OneDisc 暂不支持事件快速操作

事件名称说明
notice.group_upload
notice.friend_addDiscord Bot 没有好友功能
notice.notifyDiscord 不支持相关功能
request.friendDiscord Bot 没有好友功能
request.groupDiscord 不支持相关功能

「说明」为空表示「暂未实现」,将在后续版本完成

message.private

字段名说明
fontDiscord 不支持相关功能,将填入 -1
sender平台限制,只能获取 user_idnickname 字段

message.group

字段名说明
fontDiscord 不支持相关功能,将填入 -1
sender平台限制,只能获取 user_idnicknamecardrole 字段

API

接口名称终结点说明
获取合并转发消息get_forward_msgDiscord 不支持相关功能
发送好友赞send_likeDiscord 不支持相关功能
群组匿名用户禁言set_group_anonymous_banDiscord 不支持相关功能
群组全员禁言set_group_whole_banDiscord 不支持相关功能
群组匿名set_group_anonymousDiscord 不支持相关功能
设置群组专属头衔set_group_special_titleDiscord 不支持相关功能
处理加好友请求set_friend_add_requestDiscord Bot 没有好友功能
处理加群请求set_group_add_requestDiscord 不支持相关功能
获取好友列表get_friend_listDiscord Bot 没有好友功能
获取群荣誉信息get_group_honor_infoDiscord 不支持相关功能
获取 Cookiesget_cookies这是什么.jpg
获取 CSRF Tokenget_csrf_token这是什么.jpg
获取 QQ 接口凭证get_credentials这是什么.jpg
获取语音get_record这玩意不写CQ码上了吗
获取群成员信息get_group_member_info平台限制,只能获取 user_idnicknamecardsexjoin_timerole 字段

「说明」为空的接口表示「暂未实现」将在后续版本完成

消息段类型

消息段名称消息段类型说明
猜拳魔法表情rpsDiscord 不支持相关功能
掷骰子魔法表情diceDiscord 不支持相关功能
窗口抖动shakeDiscord 不支持相关功能
戳一戳pokeDiscord 不支持相关功能
匿名发消息anonymousDiscord 不支持相关功能
推荐好友/群contact
音乐自定义分享music
合并转发forwardDiscord 不支持有关功能
XML 消息xmlDiscord 不支持有关功能
JSON 消息jsonDiscord 不支持有关功能

「说明」为空表示「暂未实现」,将在后续版本完成

拓展内容

拓展接口

edit_message 编辑消息

参数类型必须说明
message_idint要编辑的消息 ID
contentmessage | str消息内容

本动作无相应数据

拓展消息段

emoji 自定义表情

字段名数据类型说明
namestr自定义表情名称
idint表情 ID

channel 频道

字段名数据类型说明
channel_idint频道 ID

role 提及权限组

字段名数据类型说明
idint权限组 ID

timestamp 时间

字段名数据类型说明
timeintUnix 时间戳
stylestr时间格式,参见
字段名数据类型说明
typestr我不知道这是什么

markdown MarkDown

字段名数据类型说明
datastrMarkDown 内容,支持使用 base64:// + b64编码
- + \ No newline at end of file diff --git a/differences.html b/differences.html index 3f0132e..97af5b4 100644 --- a/differences.html +++ b/differences.html @@ -18,7 +18,7 @@
Skip to content

标准偏差细节

本页面是 OneDisc 实现与 OneBot V12 标准的偏差细节,与 OneBot V11 的偏差请查看 本页面

支持受限的内容

动作

动作名终结点原因
获取好友列表get_friend_listDiscord Bot 没有好友功能,请求此动作将返回空列表

事件

事件说明
notice.friend_increaseDiscord Bot 没有好友功能
notice.friend_decreaseDiscord Bot 没有好友功能
notice.channel_member_increasediscord.py 未提供相关接口
notice.channel_member_decreasediscord.py 未提供相关接口

与标准有差异的事件

事件说明
notice.group_member_increase平台限制,无法判断加入成员是被邀请还是主动加入,sub_type 将依 配置项 填入空字符串或 "join"
notice.group_member_decrease平台限制,无法判断成员是主动离开还是被踢出,sub_type 将依 配置项 填入空字符串或 "leave"
notice.guild_member_increasenotice.group_member_increase
notice.guild_member_decreasenotice.group_member_decrease
notice.channel_create平台限制,无法获取操作者 ID,将填入"-1"
notice.channel_delete平台限制,无法获取操作者 ID,将填入"-1"
notice.channel_message_delete平台限制,无法判断消息为主动撤回还是被管理员撤回,sub_type 将依 配置项 填入空字符串或 "recall"
notice.group_message_deletenotice.channel_message_delete
notice.private_message_deletenotice.channel_message_delete

消息段

消息段说明
voice 语音discord.py 未提供相关接口,将以 audio 形式发送

拓展内容

message 类型为 OneBot V12 消息段,其余数据类型参考 Python3 数据类型

拓展动作

edit_message 编辑消息

参数类型必须说明
message_idstr要编辑的消息 ID
contentmessage消息内容

本动作无响应数据

拓展消息段

discord.emoji 自定义表情

字段名数据类型说明
namestr自定义表情名称
idint表情 ID

discord.channel 频道

字段名数据类型说明
channel_idstr频道 ID

discord.role 提及权限组

字段名数据类型说明
idstr权限组 ID

discord.timestamp 时间

字段名数据类型说明
timeintUnix 时间戳
stylestr时间格式,参见

discord.navigation Navigation

字段名数据类型说明
typestr我不知道这是什么

discord.markdown MarkDown

字段名数据类型说明
datastrMarkDown 内容,支持使用 base64:// + b64编码
- + \ No newline at end of file diff --git a/download.html b/download.html index a84c289..48f7c5e 100644 --- a/download.html +++ b/download.html @@ -18,7 +18,7 @@
Skip to content

下载

最新测试版最新稳定版

稳定版

测试版

下载这些内容可能需要先在 GitHub 上登陆

- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 411ef31..59b8c43 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"join-discord.md":"C8JG_5_Y","quickstart.md":"DyRmniBq","index.md":"BXPqBGDv","differences.md":"lHTIEwhq","slash-command.md":"C_SY_zt1","diff-v11.md":"n6XXM9PN","download.md":"D0Sd_uId","config.md":"Ds2ZFL0x"} +{"differences.md":"lHTIEwhq","diff-v11.md":"n6XXM9PN","index.md":"BXPqBGDv","slash-command.md":"C_SY_zt1","download.md":"D0Sd_uId","join-discord.md":"C8JG_5_Y","quickstart.md":"DyRmniBq","config.md":"Ds2ZFL0x"} diff --git a/index.html b/index.html index c03f8d9..586ddbf 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@
Skip to content

OneDisc

Discord 的 OneBot 实现

快速、跨平台,基于 discord.py

- + \ No newline at end of file diff --git a/join-discord.html b/join-discord.html index e5f9895..e83ad7a 100644 --- a/join-discord.html +++ b/join-discord.html @@ -18,7 +18,7 @@
Skip to content

加入我们的 Discord 社区!

欢迎来到 OneDisc 的官方 Discord 服务器!这是一个我们与热情的社区成员交流的特殊空间。在这里,您可以发现有关我们产品的最新消息、得到实时的技术支持,并与同样热爱 OneDisc 的其他用户互动。

🔗 立即加入!
点击这里加入我们的 Discord 服务器

为什么要加入我们的 Discord 社区?

  • 💬 实时交流:与 OneDisc 团队及其他用户直接交流;
  • 📢 最新公告:第一时间获取有关更新和新功能的信息;
  • 🛠️ 技术支持:有问题?我们的团队会在这里为您提供帮助;
  • 🎉 独家活动:参加由我们组织的各种活动和竞赛。

希望您在 OneDisc 的 Discord 社区中度过愉快的时光

- + \ No newline at end of file diff --git a/quickstart.html b/quickstart.html index e7b44b1..d8ad044 100644 --- a/quickstart.html +++ b/quickstart.html @@ -31,7 +31,7 @@ }, "servers": [] }

对于配置项的详细信息,请查看 配置

启动 OneDisc

在配置完成后,再次启动 OneDisc

出现类似输出代表 OneDisc 已成功启动

bash
[1919-08-10 11:45:14][__main__ / INFO]: 成功登陆到 OneDisc#9527
- + \ No newline at end of file diff --git a/slash-command.html b/slash-command.html index fb3f57e..cedbd20 100644 --- a/slash-command.html +++ b/slash-command.html @@ -29,7 +29,7 @@ "description": "获取指令帮助" } ]

commands.json 是一个数组,每一项的内容是一个对象,包含注册指令时的参数,常用的参数如下:

事实上,除了 name 的参数都是可选的

更多参数详见 此处

开启全局同步

  1. 删除指令指令列表的 guildguilds 参数(将指令设为全局指令)
  2. system.sync_globally 配置设为 true
  3. 重新启动 OneDisc

请注意,Discord 在全局范围同步指令非常缓慢(大约需要一个小时)

- + \ No newline at end of file