Documentation ¶
Index ¶
- func ClearUsernameCacheByID(guildID string, userID string)
- func GetUserByName(s *discordgo.Session, guildID string, userName string, fuzzy bool) (*discordgo.Member, error)
- func GetUserName(s *discordgo.Session, guildID string, userID string) (string, error)
- func IsPrivateChat(s *discordgo.Session, channelID string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearUsernameCacheByID ¶
ClearUsernameCacheByID removes cached usernames
func GetUserByName ¶
func GetUserByName(s *discordgo.Session, guildID string, userName string, fuzzy bool) (*discordgo.Member, error)
GetUserByName attempts to find a user in a guild by name
func GetUserName ¶
GetUserName looks up a member in a guild by username
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.