From 049c2743a09d88c6521e9e13c92e46ccd2642ddb Mon Sep 17 00:00:00 2001 From: PascalEgn Date: Mon, 15 Jul 2024 17:02:20 +0200 Subject: [PATCH] openai: add test command --- reminder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reminder.py b/reminder.py index 96e74a7..9b1f4f6 100644 --- a/reminder.py +++ b/reminder.py @@ -130,6 +130,10 @@ def zoom_meeting_url(self): return match.group() + @botcmd + def test_ai_message(self, msg, args): + return Reminder.get_openai_message("daily", "abc", 5) + @botcmd def reminder_link(self, msg, args): return f"[Link]({self.zoom_meeting_url()}) to our Zoom meeting"