Fix having renamed a property on send_channel.
This commit is contained in:
parent
37ecac009d
commit
dbcd947b83
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ class DiscordClient(WebSocketClientProtocol, _BASE_SESSION_CLASS):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
data = {"nick": text}
|
data = {"content": text}
|
||||||
data.update(kwargs)
|
data.update(kwargs)
|
||||||
self._post_json(f"channels/{channel_id}/messages", data)
|
self._post_json(f"channels/{channel_id}/messages", data)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue