Skip to content

Commit 9144820

Browse files
committed
Fixed sending hidden does not work
1 parent 15ee4ff commit 9144820

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

discord_slash/context.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,15 @@ async def send(self,
190190
return smsg
191191

192192
def send_hidden(self, content: str = ""):
193+
"""
194+
Sends hidden response.\n
195+
This is automatically used if you pass ``hidden=True`` at :meth:`.send`.
196+
197+
:param content: Message content.
198+
:return: Coroutine
199+
"""
193200
base = {
194201
"content": content,
195202
"flags": 64
196203
}
197-
return self._http.post(base, False, self.interaction_id, self.__token)
204+
return self._http.post(base, self.interaction_id, self.__token)

0 commit comments

Comments
 (0)