mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Fix Client.unban parameter name (name -> user)
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user