Skip to content

Commit

Permalink
Update on_msg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rtk-rnjn authored Apr 21, 2024
1 parent aff279b commit 0a09667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/on_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ async def _global_chat_handler(self, message: discord.Message) -> None:
data = self.__global_chat_cache[message.guild.id]

data = data["global_chat"]
if message.channel.id != data.get("channel_id")
if message.channel.id != data.get("channel_id"):
return

if not data.get("enable"):
Expand Down

0 comments on commit 0a09667

Please sign in to comment.