From 5bae47a6c31afd9ac2fef49093d0c599912c9384 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Sun, 16 Aug 2020 21:21:04 +0100 Subject: Better formatting of stared message --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cogs/utils.py') diff --git a/cogs/utils.py b/cogs/utils.py index 7e79ce3..164c55c 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -163,7 +163,7 @@ class Utils(commands.Cog): if reaction.emoji == "⭐" and not reaction.message.id in self.pins and reaction.count >= 3: self.pins.append(reaction.message.id) - embed = discord.Embed(title=f"**{reaction.message.clean_content}**", colour=discord.Colour(0xb92c36), url=reaction.message.jump_url, timestamp=reaction.message.created_at) + embed = discord.Embed(title="**New stared message**", description=reaction.message.content, colour=discord.Colour(0xb92c36), url=reaction.message.jump_url, timestamp=reaction.message.created_at) for attachement in reaction.message.attachments: if attachement.height: -- cgit v1.2.3