-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement]多服消息互通 #21
Labels
enhancement
New feature or request
Comments
可以用NoneBot2的minecraft适配器编写插件实现,鹊桥只负责将消息广播到服务器内 |
你的实现端用的是哪个项目? |
nonebot-plugin-mcqq, 过几天就去加功能 |
临时的方案你可以使用 @temp.handle()
async def _(bot: Bot, event: MessageEvent):
bots = get_bots()
msg = event.get_message()
for temp_bot in bots:
if bot.self_id != temp_bot.self_id:
await bot.send_msg(msg) |
能互通了, 虽然鹊桥的前缀一直取消不掉,无论如何都剩个[] |
这个本意是用来做一个自定义前缀的,你可以设置为自己的服务器名或另一个服务器的名字。如果有需求,可以在下个版本也设置为自定义。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
功能建议
现在只能做到服和q群消息互通, 但是如果两个服分别挂了鹊桥, 彼此消息是不互通的, 希望能让与同一个q群互通消息的服务器彼此也能互通消息
额外信息(可选)
No response
The text was updated successfully, but these errors were encountered: