diff --git a/README.md b/README.md index aeab23d6..e0bf3f3a 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ Once the bot is installed, run the following command in Discord: | Baron | 1.2.4 |
Tools for managing guild joins and leaves.Tools for managing guild joins and leaves.
| PhenoM4n4n, DragDev Studios, and KableKompany | | Connect4 | 1.1.0 |
Play Connect 4 in Discord!Play Connect 4 in Discord!
| Benjamin Mintz, flare, and PhenoM4n4n | | CustomPing | 1.0.0 |
Creates a custom ping embed to display latency statistics.Creates a custom ping embed to display latency statistics.
| PhenoM4n4n | -| DisboardReminder | 1.3.7 |
Set a reminder to bump on Disboard.Set a reminder to bump on Disboard.
| PhenoM4n4n | +| DisboardReminder | 1.4.0 |
Set a reminder to bump on Disboard.Set a reminder to bump on Disboard.
| PhenoM4n4n | | EmbedUtils | 1.6.1 |
Create, post, and store embedsCreate, post, and store embeds.
| PhenoM4n4n | | ForceMention | 1.0.0 |
Mention unmentionablesMentions roles that are unmentionable
| Bobloy and PhenoM4n4n | -| LinkQuoter | 1.2.0 |
Quote Discord message links.Quote Discord message links.
| PhenoM4n4n | +| LinkQuoter | 1.2.1 |
Quote Discord message links.Quote Discord message links.
| PhenoM4n4n | | Lock | 1.1.5 |
Lock channelsLock channels or the whole server
| PhenoM4n4n | | PermissionsLocker | 1.3.0 |
Force permissions for the bot.Lock bot commands to a certain permissions set.
| PhenoM4n4n | | PfpImgen | 1.1.1 |
Make images from avatars!Make images from avatars!
| PhenoM4n4n | diff --git a/linkquoter/linkquoter.py b/linkquoter/linkquoter.py index 484e65cb..a69e17a9 100644 --- a/linkquoter/linkquoter.py +++ b/linkquoter/linkquoter.py @@ -24,6 +24,7 @@ import asyncio import logging +from copy import deepcopy from typing import List, Optional, Tuple, Union import discord @@ -54,7 +55,7 @@ class LinkQuoter(commands.Cog): Quote Discord message links. """ - __version__ = "1.2.0" + __version__ = "1.2.1" def format_help_for_context(self, ctx): pre_processed = super().format_help_for_context(ctx) @@ -130,11 +131,11 @@ async def message_to_embed( image = None e: discord.Embed = None if message.embeds: - embed = message.embeds[0].copy() + embed = message.embeds[0] if str(embed.type) == "rich": if footer_field: embed.timestamp = message.created_at - e = embed + e = discord.Embed.from_dict(deepcopy(embed.to_dict())) if str(embed.type) in ("image", "article"): image = embed.url