Switch example to use UpdateGameStatus
This commit is contained in:
parent
c41dc15a10
commit
657ac048fe
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func main() {
|
||||||
func ready(s *discordgo.Session, event *discordgo.Ready) {
|
func ready(s *discordgo.Session, event *discordgo.Ready) {
|
||||||
|
|
||||||
// Set the playing status.
|
// 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
|
// This function will be called (due to AddHandler above) every time a new
|
||||||
|
|
Loading…
Reference in a new issue