Adds missing docstring

This commit is contained in:
cameron 2024-05-10 15:29:02 -04:00
parent ce4d699f06
commit 1fc3acfb0a
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@ async def log_history(ctx, history):
@commands.command(name='llm') @commands.command(name='llm')
async def llm_response(ctx): 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() await ctx.channel.typing()
prompt_file = os.path.join(prompts_folder, default_prompt) prompt_file = os.path.join(prompts_folder, default_prompt)
with open(prompt_file, 'r') as prompt_file: with open(prompt_file, 'r') as prompt_file: