Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinsenal0x64 committed Jul 22, 2023
1 parent c894ccd commit f48823e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def bard_chat(message):
inputs, outputs = [], []


@bot.message_handler(commands=['gpt4'])
@bot.message_handler(commands=['cl'])
def gpt4_(message):
if message.chat.type in ['private', 'supergroup', 'group']:
if not any(word in message.text for word in block_words):
Expand All @@ -462,6 +462,8 @@ def gpt4_(message):
"🌀 Processing...",
reply_to_message_id=message.message_id)
prompt = message.text





Expand Down

0 comments on commit f48823e

Please sign in to comment.