From b08c5b8c9864dba5108d44b8776b321953a89e57 Mon Sep 17 00:00:00 2001 From: bghira Date: Sun, 28 Jan 2024 17:03:46 -0600 Subject: [PATCH] logging --- discord_tron_master/cogs/image/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord_tron_master/cogs/image/generate.py b/discord_tron_master/cogs/image/generate.py index a529a57..08f8273 100644 --- a/discord_tron_master/cogs/image/generate.py +++ b/discord_tron_master/cogs/image/generate.py @@ -179,7 +179,7 @@ async def search_prompts(self, ctx, search_string: str): if len(discovered_prompts) > 1: found_string = f"{len(discovered_prompts)} prompts" output_string = f"{ctx.author.mention} I found {found_string} matching your search, `{search_string}`:" - for prompt in discovered_prompts: + for prompt in discovered_prompts[:15]: output_string = f"{output_string}\n- `{prompt[0]}`" await ctx.send(output_string) except Exception as e: