CTF2021/irc_bot
Archived
4
0

Add history help

This commit is contained in:
Denis Zheleztsov 2021-01-27 12:35:14 +03:00
parent 8e59edc01f
commit 62a12ae97d
Signed by: Difrex
GPG Key ID: D423378A747E202E

View File

@ -241,6 +241,9 @@ func showHelp(e *irc.Event) {
e.Connection.Privmsg(e.Nick, "cat|meow|etc -- show cat fact or gif") e.Connection.Privmsg(e.Nick, "cat|meow|etc -- show cat fact or gif")
e.Connection.Privmsg(e.Nick, "nyastat -- show #ctf channel stats") e.Connection.Privmsg(e.Nick, "nyastat -- show #ctf channel stats")
e.Connection.Privmsg(e.Nick, "history -- show #ctf channel history logs") e.Connection.Privmsg(e.Nick, "history -- show #ctf channel history logs")
e.Connection.Privmsg(e.Nick, " -- EXAMPLE")
e.Connection.Privmsg(e.Nick, "history all -- show all logs")
e.Connection.Privmsg(e.Nick, "history 2021-01-27T12:19:55 2021-01-27T12:20:00 -- show date ranged logs")
} }
func doCommand(command string, e *irc.Event, s *stats) { func doCommand(command string, e *irc.Event, s *stats) {