BanEntry
A ban entry.
Attributes
None
, str
The ban reason if applicable.
The banned user.
Methods
(user, reason)
__init__Creates a new ban entry instance.
Parameter | Type | Description |
---|---|---|
user | The banned user. | |
reason |
| The ban reason if applicable. |
()
__iter__Unpacks the ban entry.
()
__len__Helper for unpacking.
()
__repr__Returns the ban entry's representation.