add local image gen, refactor local chat gen

This commit is contained in:
2026-06-06 17:43:24 -05:00
parent 0ef3fd1e82
commit 4dbacab952
2 changed files with 195 additions and 74 deletions

View File

@@ -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")