GuildBan
class GuildBan extends ClientBase (View source)
Represents a guild ban.
Properties
Client | $client | The client which initiated the instance. | from ClientBase |
static Client|null | $serializeClient | The client which will be used to unserialize. | from ClientBase |
Guild | $guild | The guild this ban is from. | |
User | $user | The banned user. | |
string|null | $reason | The ban reason, or null. |
Methods
mixed
__get(string $name)
No description
ExtendedPromiseInterface
unban(string $reason = '')
Unbans the user.
Details
at line 55
mixed
__get(string $name)
in ClientBase at line 67
mixed
jsonSerialize()
in ClientBase at line 78
string
serialize()
in ClientBase at line 89
void
unserialize($data)
in ClientBase at line 56
mixed
__debugInfo()
at line 68
ExtendedPromiseInterface
unban(string $reason = '')
Unbans the user.