add local image gen, refactor local chat gen
This commit is contained in:
14
garfmain.py
14
garfmain.py
@@ -161,13 +161,13 @@ async def garfchat(ctx, *, prompt):
|
||||
await ctx.reply(answer)
|
||||
|
||||
|
||||
# @garfbot.command(name="pic")
|
||||
# async def garfpic(ctx, *, prompt):
|
||||
# logger.info(
|
||||
# f"Image Request - User: {ctx.author.name}, Server: {ctx.guild.name}, Prompt: {prompt}"
|
||||
# )
|
||||
# await ctx.reply(f"`Please wait... image generation queued: {prompt}`")
|
||||
# await garfield.garfpic(ctx, prompt)
|
||||
@garfbot.command(name="pic")
|
||||
async def garfpic(ctx, *, prompt):
|
||||
logger.info(
|
||||
f"Image Request - User: {ctx.author.name}, Server: {ctx.guild.name}, Prompt: {prompt}"
|
||||
)
|
||||
await ctx.reply(f"`Please wait... image generation queued: {prompt}`")
|
||||
await garfield.garfpic(ctx, prompt)
|
||||
|
||||
|
||||
@garfbot.command(name="help")
|
||||
|
||||
Reference in New Issue
Block a user