feat(discord): 添加代理支持配置
在 Discord 适配器中添加代理支持,包括配置模型、配置文件及实际代理实现。当配置了代理时,通过环境变量设置 HTTP/HTTPS 代理进行连接,以支持在需要代理的环境中使用 Discord 服务。
This commit is contained in:
@@ -103,6 +103,8 @@ base_url = "http://101.36.126.55:3003" # 外部访问的 URL
|
||||
[discord]
|
||||
enabled = true
|
||||
token = "MTQ4MjQzODA1NzExNzYxODI4Nw.G9R6uR.ddxHn3pmUf7SyrrOBg_-_lc7Y62lsCitPxpdGM"
|
||||
proxy = "http://127.0.0.1:7890"
|
||||
proxy_type = "http"
|
||||
|
||||
# 跨平台消息互通配置
|
||||
[cross_platform]
|
||||
|
||||
Reference in New Issue
Block a user