Implement audit logs.
This commit is contained in:
1 parent
3f45db5c3b
commit
c54a6a927d
9 files changed
+1294
-14
No files matched your search
+2
-2
@@ -357,12 +357,12 @@ class Member(discord.abc.Messageable):
|
||||
yield from self.guild.unban(self)
|
||||
|
||||
@asyncio.coroutine
|
||||
def kick(self):
|
||||
def kick(self, *, reason=None):
|
||||
"""|coro|
|
||||
|
||||
Kicks this member. Equivalent to :meth:`Guild.kick`
|
||||
"""
|
||||
yield from self.guild.kick(self)
|
||||
yield from self.guild.kick(self, reason=reason)
|
||||
|
||||
@asyncio.coroutine
|
||||
def edit(self, **fields):
|
||||
|
||||
Reference in new issue
Block a user