Merge branch 'dev' of pocketjawa/discord-buttsbot-go into master
commit
3287ca485d
|
@ -68,7 +68,9 @@ func ready(s *discordgo.Session, event *discordgo.Ready) {
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
s.UpdateStatus(0, "with butts!")
|
s.UpdateStatus(0, "with butts!")
|
||||||
s.ChannelMessageSend(botChannel, "This isn't a butt...")
|
if os.Getenv("BUTTSBOT_STARTUP_MESSAGE") == "TRUE" {
|
||||||
|
s.ChannelMessageSend(botChannel, "This isn't a butt...")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
|
|
Loading…
Reference in New Issue