Skip to content

Commit 8172477

Browse files
authored
Merge pull request #168 from anand2312/patch-1
Remove outdated note regarding ephemeral messages
2 parents 3451d22 + 511dfca commit 8172477

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

discord_slash/context.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ async def send(self,
134134
"""
135135
Sends response of the slash command.
136136
137-
.. note::
138-
- Param ``hidden`` doesn't support embed and file.
139-
140137
.. warning::
141138
- Since Release 1.0.9, this is completely changed. If you are migrating from older version, please make sure to fix the usage.
142139
- You can't use both ``embed`` and ``embeds`` at the same time, also applies to ``file`` and ``files``.
@@ -186,8 +183,6 @@ async def send(self,
186183
else self.bot.allowed_mentions.to_dict() if self.bot.allowed_mentions else {}
187184
}
188185
if hidden:
189-
if embeds or files:
190-
self._logger.warning("Embed/File is not supported for `hidden`!")
191186
base["flags"] = 64
192187

193188
initial_message = False

0 commit comments

Comments
 (0)