Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aadi-1024 committed Feb 1, 2023
1 parent 3d86d67 commit 2946311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Aaditya/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def on_message(self, message):
desc = ""

for content, link in data.items():
content = content[:30] + '...' if len(content) > 20 else content
content = content[:30] + '...' if len(content) > 30 else content
desc += f"- [{content}]({link})\n\n"

await message.channel.send(embed=discord.Embed(color=discord.Colour.blurple(), title=x, description=desc))
Expand Down

0 comments on commit 2946311

Please sign in to comment.