mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-12 08:49:48 +00:00
Remove setting read-only __doc__ in Member overrides.
This commit is contained in:
parent
ebaf74e784
commit
47cccba946
@ -132,8 +132,6 @@ class Member(User):
|
|||||||
return '<@!{}>'.format(self.id)
|
return '<@!{}>'.format(self.id)
|
||||||
return '<@{}>'.format(self.id)
|
return '<@{}>'.format(self.id)
|
||||||
|
|
||||||
mention.__doc__ = User.mention.__doc__
|
|
||||||
|
|
||||||
def mentioned_in(self, message):
|
def mentioned_in(self, message):
|
||||||
mentioned = super().mentioned_in(message)
|
mentioned = super().mentioned_in(message)
|
||||||
if mentioned:
|
if mentioned:
|
||||||
@ -145,5 +143,3 @@ class Member(User):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
mentioned_in.__doc__ = User.mentioned_in.__doc__
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user