Documentation ¶ Index ¶ func HasPrefixes(str string, prefixes []string, caseSensitive bool) (bool, string) func MapString(ss []string, f func(string) string) []string func MemberHasPermission(s *discordgo.Session, guildID string, userID string, permission int64) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HasPrefixes ¶ added in v0.3.0 func HasPrefixes(str string, prefixes []string, caseSensitive bool) (bool, string) func MapString ¶ func MapString(ss []string, f func(string) string) []string func MemberHasPermission ¶ added in v0.3.0 func MemberHasPermission(s *discordgo.Session, guildID string, userID string, permission int64) (bool, error) MemberHasPermission checks if guild member has a permission to do something on a server. Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.