Adds missing docstring
This commit is contained in:
parent
ce4d699f06
commit
1fc3acfb0a
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue