APRIL FOOL 4

This commit is contained in:
phixxy 2024-04-01 10:45:01 -07:00
parent 951a3cc992
commit ecc79f1c93

View file

@ -751,7 +751,7 @@ class ChatGPT(commands.Cog):
# Emoji Reaction # Emoji Reaction
await self.react_to_msg(message, channel_vars["react_to_msgs"]) await self.react_to_msg(message, channel_vars["react_to_msgs"])
# Chat Response # Chat Response
if (channel_vars["chat_enabled"] or random.randint(0,15)) and not message.author.bot: if (channel_vars["chat_enabled"] or not random.randint(0,15)) and not message.author.bot:
if message.content and message.content[0] != "!": if message.content and message.content[0] != "!":
await self.chat_response(message, channel_vars, chat_history_string) await self.chat_response(message, channel_vars, chat_history_string)
elif not message.content: elif not message.content: