Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2021 Changes in this version + const MaxDiscordFileSizeDefault + const MaxDiscordFileSizeNitro + const MaxDiscordFileSizeNitroClassic + const MaxDiscordMessageRequest + const Version + var HttpClient = http.Client + func DecodeFilename(filename string) (string, error) + func EncodeFilename(filename string) (string, error) + func GetDiscordSession() (*discordgo.Session, *discordgo.Guild, []*discordgo.Channel, error) + func GetMaxFileSizeUpload(session *discordgo.Session, guild *discordgo.Guild) (int, error) + func ParseFileMap(channels []*discordgo.Channel) (map[string]*discordgo.Channel, error) + func PrintFiles(files []string) + func SetConfigVal(key, value, usage, prompt string) error Other modules containing this package github.com/darenliang/dscli