The Ban class is a representation of a ban.
Constructors
Creates a new Ban instance with a ban reason.
SourceCreates a new Ban instance with no ban reason.
SourceInstance methods
createBan
Write a ban to the database.
WARNING: Incomplete method.
Sourceip
The IP property represents a banned user's IP.
SourceThe IP property represents a banned user's IP.
SourceremoveBan
Remove a ban from the database.
WARNING: Incomplete method.
Sourcewhy
The why property represents a ban reason.
SourceThe why property represents a ban reason.
Source