Switch example to use UpdateGameStatus

This commit is contained in:
Carson Hoffman 2021-01-20 19:33:43 -05:00
parent c41dc15a10
commit 657ac048fe
No known key found for this signature in database
GPG key ID: 05B660CB452C657F

View file

@ -78,7 +78,7 @@ func main() {
func ready(s *discordgo.Session, event *discordgo.Ready) {
// Set the playing status.
s.UpdateStatus(0, "!airhorn")
s.UpdateGameStatus(0, "!airhorn")
}
// This function will be called (due to AddHandler above) every time a new