Fix having renamed a property on send_channel.

This commit is contained in:
holl0wstar 2023-09-25 00:44:25 -03:00
parent 37ecac009d
commit dbcd947b83

View file

@ -516,7 +516,7 @@ class DiscordClient(WebSocketClientProtocol, _BASE_SESSION_CLASS):
"""
data = {"nick": text}
data = {"content": text}
data.update(kwargs)
self._post_json(f"channels/{channel_id}/messages", data)