This commit is contained in:
夜坂雅 2022-12-06 09:33:58 +08:00
parent b4a907f26e
commit 329516375f
1 changed files with 5 additions and 0 deletions

View File

@ -98,6 +98,11 @@ class Message:
if self.room.room_id in self.disable_jerryxiao_for:
return
msg = self.message_content
# If the first part of the message is pure ASCII, skip it
if msg.split()[0].isascii():
return
if msg.startswith("/"):
await send_jerryxiao(
self.client, self.room, self.event, "/", self.reply_to, msg