Compare commits
2 Commits
485b849a0f
...
5f0dbd5e1e
Author | SHA1 | Date | |
---|---|---|---|
|
5f0dbd5e1e | ||
|
518d39ad08 |
@ -30,7 +30,7 @@ class Mc_rcon(BasePlugin):
|
||||
gid = config.get("group").get("id")
|
||||
config = config.get("mc_rcon")
|
||||
if self.ctx.group is None:
|
||||
return "ok"
|
||||
return None
|
||||
print(self.ctx.group.group_id)
|
||||
if self.ctx.group.group_id == gid:#转发群消息至 Minecraft
|
||||
if "CQ:image" in self.ctx.raw_message:
|
||||
|
Reference in New Issue
Block a user