aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index f1a8a79d..1f7b6874 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -910,7 +910,7 @@ class Client(object):
log.debug(request_logging_format.format(response=response))
_verify_successful_response(response)
- def unban(self, server, name):
+ def unban(self, server, user):
"""Unbans a :class:`User` from their respective :class:`Server`.
You must have the proper permissions to unban a user in the server.