mirror of https://github.com/velour/catbase.git
discord: apparently bot has to be capitalized now
This commit is contained in:
parent
8f391ee7bc
commit
001a04d186
|
@ -24,7 +24,7 @@ type Discord struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func New(config *config.Config) *Discord {
|
func New(config *config.Config) *Discord {
|
||||||
client, err := discordgo.New("bot " + config.Get("DISCORDBOTTOKEN", ""))
|
client, err := discordgo.New("Bot " + config.Get("DISCORDBOTTOKEN", ""))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal().Err(err).Msg("Could not connect to Discord")
|
log.Fatal().Err(err).Msg("Could not connect to Discord")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue