Skip to content

Commit

Permalink
[•] - Fixed Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AyiinXd committed Aug 29, 2023
1 parent 51be807 commit 8cf66bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AyiinXd/modules/oai.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ async def chatgpt(event):
reply = await event.get_reply_message()
chat_id = event.chat_id
if "-r" in text:
text = text.replace("-e", "").strip()
text = text.replace("-r", "").strip()
if not reply or not reply.text or not text:
return await eod(
event,
"Balas ke pesan dan berikan pesan instruksi setelah tag -e.__",
"Balas ke pesan dan berikan pesan instruksi setelah tag -r.__",
)
await eor(event, "`Searching edited text..`")
response = gen_edited_resp(reply.text, text)
Expand All @@ -46,4 +46,4 @@ async def chatgpt(event):
\n » **Kegunaan : **Untuk Bertanya Kepada ChatGPT dari pertanyaan orang pesan orang lain.\
"
}
)
)

0 comments on commit 8cf66bb

Please sign in to comment.