mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Fix
This commit is contained in:
@@ -161,7 +161,7 @@ class MessagesProc:
|
||||
try:
|
||||
completion = await get_completion(
|
||||
event.message.text.replace("!ai", "").strip(),
|
||||
reply_to=event.reply.parent_message_body.replace("!ai", "").strip() if event.reply else None
|
||||
reply_to=event.reply.parent_message_body.replace("!ai", "").strip() if event.reply is not None else None
|
||||
)
|
||||
|
||||
max_length = 255
|
||||
|
||||
Reference in New Issue
Block a user