From 1fc3acfb0ae9295b058879eb817af68d86edcecf Mon Sep 17 00:00:00 2001 From: cameron Date: Fri, 10 May 2024 15:29:02 -0400 Subject: [PATCH] Adds missing docstring --- plugins/botchat/plugin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/botchat/plugin.py b/plugins/botchat/plugin.py index 22113ab..8a699f8 100644 --- a/plugins/botchat/plugin.py +++ b/plugins/botchat/plugin.py @@ -73,6 +73,11 @@ async def log_history(ctx, history): @commands.command(name='llm') async def llm_response(ctx): + """ + Sends a response from the bot to the chat context in {ctx} + + :param ctx: Chat context to send message to + """ await ctx.channel.typing() prompt_file = os.path.join(prompts_folder, default_prompt) with open(prompt_file, 'r') as prompt_file: