Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddAdminRoleCommand = &disgoman.Command{ Name: "addAdmin", Aliases: []string{"addAdminRole"}, Description: "Add a role which is allowed to run admin commands", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: addAdminRoleCommandFunc, }
View Source
var AddModeratorRoleCommand = &disgoman.Command{ Name: "addMod", Aliases: []string{"addModerator", "addModRole"}, Description: "Add a role which is allowed to run moderator commands", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: addModeratorRoleCommandFunc, }
View Source
var AddPrefixCommand = &disgoman.Command{ Name: "addPrefix", Aliases: []string{"ap"}, Description: "Add a prefix for use in this guild.", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: addPrefixCommandFunc, }
View Source
var MakeRoleSelfAssignableCommand = &disgoman.Command{ Name: "make-role-self-assignable", Aliases: []string{"makesar", "addsar"}, Description: "Makes the passed in role self assignable by anyone", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: makeRoleSelfAssignableCommandFunc, }
View Source
var RemoveModRoleCommand = &disgoman.Command{ Name: "removeMod", Aliases: []string{"removeModeratorRole", "removeModRole", "removeAdmin", "removeAdminRole"}, Description: "Remove a role or several roles from the moderator or admin list", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: removeModRoleCommandFunc, }
View Source
var RemovePrefixCommand = &disgoman.Command{ Name: "removePrefix", Aliases: []string{"rp"}, Description: "Remove a prefix so it can't be used in this guild", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: removePrefixCommandFunc, }
View Source
var RemoveSelfAssignableCommand = &disgoman.Command{ Name: "remove-self-assignable-role", Aliases: []string{"removesar"}, Description: "Makes a role that was previously self assignable not so", OwnerOnly: false, Hidden: false, RequiredPermissions: disgoman.PermissionManageServer, Invoke: removeSelfAssignableRoleCommandFunc, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.