BanEntry

A ban entry.

Attributes

reason : None, str

The ban reason if applicable.

The banned user.

Methods

__init__(user, reason)

Creates a new ban entry instance.

ParameterTypeDescription
user

ClientUserBase

The banned user.

reason

None, str

The ban reason if applicable.

__iter__()

Unpacks the ban entry.

__len__()

Helper for unpacking.

__repr__()

Returns the ban entry's representation.