Skip to content

Commit

Permalink
Merge pull request #174 from DarkNinja3141/master
Browse files Browse the repository at this point in the history
Fix #173
  • Loading branch information
eunwoo1104 authored May 26, 2021
2 parents 9a6839e + 10cfbe8 commit af5c23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord_slash/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ async def _slash_edit(self, **fields):

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:
Expand Down

0 comments on commit af5c23e

Please sign in to comment.