Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelCmd ¶
type ChannelCmd struct{}
A ChannelCmd holds methods for this command
func (*ChannelCmd) GetNames ¶
func (c *ChannelCmd) GetNames() []string
GetNames returns the command aliases for this command
func (*ChannelCmd) GetRequiredPermission ¶
func (c *ChannelCmd) GetRequiredPermission() int
GetRequiredPermission returns permission bits for discord ACL permission system. This command requires discordgo.PermissionManageServer
func (*ChannelCmd) Invoke ¶
func (c *ChannelCmd) Invoke(ci *shodan.CommandInvocation) error
Invoke runs the command. This command allows configuring the greet module.
Actions include:
status: returns a summary of the configuration
set: sets the current channel as the greeting channel
clear: clears the current configuration
msg: set the message used to greet new users
Click to show internal directories.
Click to hide internal directories.