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