Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed Jan 28, 2024
1 parent dcd747b commit b08c5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord_tron_master/cogs/image/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b08c5b8

Please sign in to comment.