Fix eunwoo1104/discord-py-slash-command#173
Add "embeds" kwarg to the list of kwargs that trigger SlashMessage._slash_edit instead of discord.py's message edit method
@@ -336,7 +336,7 @@ class SlashMessage(discord.Message):
async def edit(self, **fields):
"""Refer :meth:`discord.Message.edit`."""
- if "file" in fields or "files" in fields:
+ if "file" in fields or "files" in fields or "embeds" in fields:
await self._slash_edit(**fields)
else:
try:
