add title and description to OpenAIChat chat command

This commit is contained in:
2026-02-03 13:43:39 +03:00
parent a736f786c2
commit cf91f26ac9
+3
View File
@@ -19,6 +19,9 @@ export class OpenAIChat extends ChatCommand {
requirements = Requirements.Build(Requirement.BOT_CREATOR);
title = "/chatGPT";
description = "Chat with AI (ChatGPT)";
async execute(msg: Message, match?: RegExpExecArray): Promise<void> {
console.log("OpenAI Chat: ", match);
return this.executeOpenAI(msg, match?.[3]);