feat✨: 画廊操作

This commit is contained in:
HibiKier
2024-05-15 23:24:35 +08:00
parent 3fad6fc2ad
commit ebec169e67
15 changed files with 841 additions and 55 deletions
+26 -24
View File
@@ -21,32 +21,32 @@ PLATFORM_SUPERUSERS = '
DRIVER=~fastapi+~httpx+~websockets
# kook adapter toekn
kaiheila_bots =[{"token": ""}]
# kaiheila_bots =[{"token": ""}]
# discode adapter
DISCORD_BOTS='
[
{
"token": "",
"intent": {
"guild_messages": true,
"direct_messages": true
},
"application_commands": {"*": ["*"]}
}
]
'
DISCORD_PROXY=''
# # discode adapter
# DISCORD_BOTS='
# [
# {
# "token": "",
# "intent": {
# "guild_messages": true,
# "direct_messages": true
# },
# "application_commands": {"*": ["*"]}
# }
# ]
# '
# DISCORD_PROXY=''
# dodo adapter
DODO_BOTS='
[
{
"client_id": "",
"token": ""
}
]
'
# # dodo adapter
# DODO_BOTS='
# [
# {
# "client_id": "",
# "token": ""
# }
# ]
# '
# application_commands的{"*": ["*"]}代表将全部应用命令注册为全局应用命令
# {"admin": ["123", "456"]}则代表将admin命令注册为id是123、456服务器的局部命令,其余命令不注册
@@ -55,3 +55,5 @@ LOG_LEVEL=DEBUG
# 服务器和端口
HOST = 127.0.0.1
PORT = 8080