package
0.30.1
Repository: https://github.com/ashishjh-bst/yagpdb.git
Documentation: pkg.go.dev

# README

Plugin that allows users to assign roles to themsleves

  • role options

    • names
    • group
    • require-roles
    • ignore-roles
    • allow-take-off-role
  • group options

    • name
    • require-roles
    • ignore-roles
    • mode
      • single
        • auto-take-away
        • require-one
      • multi
        • max-amount
        • min-amount
      • none

# Packages

No description provided by the author

# Functions

AssignRole attempts to assign the given role command, returns an error if the role does not exists or is unable to receie said role.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Dir returns a http.Filesystem for the embedded assets on a given prefix dir.
No description provided by the author
FS returns a http.Filesystem for the embedded assets.
FSByte returns the named file from the embedded assets.
FSMustByte is the same as FSByte, but panics if name is not present.
FSMustString is the string version of FSMustByte.
FSString is the string version of FSByte.
No description provided by the author
AssignRoleToMember attempts to assign the given role command, part of this group to the member.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StringCommands pretty formats a bunch of commands into a string.
ToggleRole toggles the role of a guildmember, adding it if the member does not have the role and removing it if they do.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Just a simple type but distinguishable from errors.Error.