Skip to content

Commit

Permalink
fixed khl bot cannot broadcast !!qq message
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Mar 13, 2023
1 parent 2072823 commit 1b0f109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatbridge/impl/kaiheila/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def on_message(self, message: Msg):
self.logger.info(f"{channel_id}: {author}: {message.content}")
if channel_id == self.config.channel_for_chat:
global chatClient
if not message.content.startswith(self.config.command_prefix):
if message.content.startswith('!!qq ') or not message.content.startswith(self.config.command_prefix):
chatClient.broadcast_chat(message.content, author=author)

def add_message(self, data, channel_id, t):
Expand Down

0 comments on commit 1b0f109

Please sign in to comment.