Просмотр исходного кода

Switch example to use UpdateGameStatus

Carson Hoffman 3 лет назад
Родитель
Сommit
657ac048fe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/airhorn/main.go

+ 1 - 1
examples/airhorn/main.go

@@ -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