mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix small typo on role assignment function.
This commit is contained in:
parent
58bfd143d2
commit
e89ae5b090
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ class DiscordClient(WebSocketClientProtocol, _BASE_SESSION_CLASS):
|
|||
def send_role(self, role_id, guild_id, user_id, **kwargs):
|
||||
|
||||
data = kwargs
|
||||
self._post_json(f"guilds/{guild_id}/members/{user_id}/roles/{role_id}", put=True)
|
||||
self._post_json(f"guilds/{guild_id}/members/{user_id}/roles/{role_id}", data, put=True)
|
||||
|
||||
def send_default(self, *args, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue