Skip to content

Commit

Permalink
🐛 fix(help): wormhole default value repr
Browse files Browse the repository at this point in the history
  • Loading branch information
ZRunner committed Jun 18, 2023
1 parent 09f3044 commit e67372f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/wormhole/wormhole.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ def __init__(self, action: Union[str, int] = None):
return
self.name = self.types[self.type]

def __repr__(self):
return self.name

async def convert(self, ctx: commands.Context, argument: str): # pylint: disable=unused-argument
if argument in self.types:
return PermissionType(argument)
Expand Down

0 comments on commit e67372f

Please sign in to comment.