Documentation
¶
Index ¶
Constants ¶
View Source
const ( MsgNoUserFound = "No user found with that name" MsgMoreUserFound = "Found more than one user with that name" MsgNoChanges = "No changes made" MsgNoPermission = "No permission to perform action" MsgInternalError = "Internal error prevented correct execution" )
Messages
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { Cmd Exe string Arg []string ArgExpected int WithPriviledge gateway.AccessLevel }
Alias abbreviates a command
type Ban ¶
type Ban struct { Cmd AccessProtect gateway.AccessLevel AccessOverride gateway.AccessLevel }
Ban user
type Cmd ¶
type Cmd struct { Disabled bool Priviledge gateway.AccessLevel }
Cmd is command base struct that implements Command.CanExecute
type Commands ¶
type Commands struct { Trigger Trigger Whoami Whoami Whois Whois Settings Settings List List Say Say SayPrivate SayPrivate Set Set Kick Kick Ban Ban Unban Unban Where Where Ping Ping Time Time Uptime Uptime Flip Flip Roll Roll }
Commands listing
type Kick ¶
type Kick struct { Cmd AccessProtect gateway.AccessLevel AccessOverride gateway.AccessLevel }
Kick user
type Unban ¶
type Unban struct { Cmd AccessProtect gateway.AccessLevel AccessOverride gateway.AccessLevel }
Unban user
Click to show internal directories.
Click to hide internal directories.