Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions discord_slash/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ async def send(self,
"""
Sends response of the slash command.

.. note::
- Param ``hidden`` doesn't support embed and file.

.. warning::
- Since Release 1.0.9, this is completely changed. If you are migrating from older version, please make sure to fix the usage.
- You can't use both ``embed`` and ``embeds`` at the same time, also applies to ``file`` and ``files``.
Expand Down Expand Up @@ -186,8 +183,6 @@ async def send(self,
else self.bot.allowed_mentions.to_dict() if self.bot.allowed_mentions else {}
}
if hidden:
if embeds or files:
self._logger.warning("Embed/File is not supported for `hidden`!")
base["flags"] = 64

initial_message = False
Expand Down