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