mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix Client.unban parameter name (name -> user)
This commit is contained in:
parent
52c1d134ba
commit
3e072db5d0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user