Skip to content

Commit

Permalink
openai: add test command
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Jul 15, 2024
1 parent 099826a commit 049c274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reminder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 049c274

Please sign in to comment.