Skip to content

Commit

Permalink
implement AllowedMentions.__repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
ioistired authored and Rapptz committed May 30, 2020
1 parent ab5f995 commit b155714
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions discord/mentions.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,6 @@ def merge(self, other):
users = self.users if other.users is default else other.users
roles = self.roles if other.roles is default else other.roles
return AllowedMentions(everyone=everyone, roles=roles, users=users)

def __repr__(self):
return '{0.__class__.__qualname__}(everyone={0.everyone}, users={0.users}, roles={0.roles})'.format(self)

0 comments on commit b155714

Please sign in to comment.