README ¶ disgord-utils A utilities package for Disgord, a interaction framework for the Discord API. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Contains(arr []interface{}, value interface{}) bool func DiscordIDToString(ID disgord.Snowflake) string func ListRoles(guild *disgord.Guild) func SearchRole(guild *disgord.Guild, ID disgord.Snowflake) (error, *disgord.Role) type IListRole Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Contains ¶ func Contains(arr []interface{}, value interface{}) bool func DiscordIDToString ¶ func DiscordIDToString(ID disgord.Snowflake) string func ListRoles ¶ func ListRoles(guild *disgord.Guild) NOTE: THIS USES DISCORD TEXT MARKDOWN FORMATTING NOTE: This ONLY displays 10 roles per "page". func SearchRole ¶ func SearchRole(guild *disgord.Guild, ID disgord.Snowflake) (error, *disgord.Role) Types ¶ type IListRole ¶ type IListRole struct { // Display for each role: <Mention> (`<ID>`) MentionAndID []string // Display for each role: <Name> (`<ID>`) NameAndID []string } Source Files ¶ View all Source files listings.gosearches.goutils.go Click to show internal directories. Click to hide internal directories.