@ -11,3 +11,7 @@ func GetMember(dg *discordgo.Session, guildID string, userID string) (*discordgo
}
return dg.GuildMember(guildID, userID)
func GetAvatar(dg *discordgo.Session, user *discordgo.User) string {
return "https://cdn.discordapp.com/avatars/" + user.ID + "/" + user.Avatar + ".png"