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