Browse Source

Forward keyword arguments in Member.ban

pull/1278/head
Rapptz 8 years ago
parent
commit
67912193ec
  1. 4
      discord/member.py

4
discord/member.py

@ -335,12 +335,12 @@ class Member(discord.abc.Messageable):
return self.guild._voice_state_for(self._user.id) return self.guild._voice_state_for(self._user.id)
@asyncio.coroutine @asyncio.coroutine
def ban(self): def ban(self, **kwargs):
"""|coro| """|coro|
Bans this member. Equivalent to :meth:`Guild.ban` Bans this member. Equivalent to :meth:`Guild.ban`
""" """
yield from self.guild.ban(self) yield from self.guild.ban(self, **kwargs)
@asyncio.coroutine @asyncio.coroutine
def unban(self): def unban(self):

Loading…
Cancel
Save