Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &commands.YAGCommand{ CmdCategory: commands.CategoryTool, Name: "MentionRole", Aliases: []string{"mrole"}, Description: "Sets a role to mentionable, mentions the role, and then sets it back", LongDescription: "Requires the manage roles permission and the bot being above the mentioned role", HideFromHelp: true, RequiredArgs: 1, Arguments: []*dcmd.ArgDef{ {Name: "Role", Type: dcmd.String}, {Name: "Message", Type: dcmd.String, Default: ""}, }, ArgSwitches: []*dcmd.ArgDef{ &dcmd.ArgDef{Switch: "channel", Help: "Optional channel to send in", Type: dcmd.Channel}, }, RunFunc: cmdFuncMentionRole, GuildScopeCooldown: 10, }
Functions ¶
func AddScheduledEventListener ¶ added in v1.5.1
func AddScheduledEventListener()
Types ¶
Click to show internal directories.
Click to hide internal directories.