change some messages

This commit is contained in:
Nico 2021-03-07 15:05:46 +00:00
parent 645fb64db3
commit e853266bd7
1 changed files with 2 additions and 3 deletions

View File

@ -231,7 +231,6 @@ func main() {
,reset: resets the game unconditionally
these only matter if they're sent in the bot's channel.
scores might get an argument sometime idk
TODO implement all these
*/
if msg.Command == "PRIVMSG" {
msgChannel := msg.Parameters[0]
@ -242,7 +241,7 @@ func main() {
if msgContent == ",ping" {
sendMessage(&conn, channel, "Pong!\r\n")
} else if msgContent == ",scores" {
// TODO implement actual game
// TODO implement scoring
sendMessage(&conn, channel, "Not implemented yet")
} else if msgContent == ",press" {
// TODO score these
@ -251,7 +250,7 @@ func main() {
reset <- 0
sendMessage(&conn, channel, fmt.Sprintf("You press the button. The countdown resets to %d", resetCount))
} else {
sendMessage(&conn, channel, "The timer is locked! You can't press the button.")
sendMessage(&conn, channel, "You're all dead. Dead people can't press buttons.")
}
} else if msgContent == ",reset" {
// TODO maybe check some kind of auth on doing this