Skip to content

Commit

Permalink
可以关闭与机器人的互动
Browse files Browse the repository at this point in the history
  • Loading branch information
NekoRabi committed Jul 11, 2022
1 parent 0e95f60 commit 181efa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ async def bili_resolve(event: GroupMessage):

@bot.on(GroupMessage)
async def diyreply(event: GroupMessage):
if not settings['silence']:
if not settings['silence'] and settings['autoreply']:
if event.group.id not in silencegroup:
msg = "".join(map(str, event.message_chain[Plain]))
m = re.match(fr"^{commandpre}{commands_map['reply']['jida']}", msg.strip())
Expand Down

0 comments on commit 181efa0

Please sign in to comment.