mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -192,9 +192,7 @@ class MessagesProc:
|
||||
if "lasqexx" in event.chatter_user_login:
|
||||
pass # Todo: Здароу
|
||||
|
||||
if event.message.text.lower().startswith("!ai") or (
|
||||
event.reply and event.reply.parent_message_body.lower().startswith("!ai")
|
||||
):
|
||||
if event.message.text.lower().startswith("!ai"):
|
||||
try:
|
||||
messages = cls.get_message_history_with_thread(event.message_id)
|
||||
completion = await get_completion(messages)
|
||||
|
||||
Reference in New Issue
Block a user