Jason R. Coombs  committed 7eb13ff

Added a new command to help people find the logs

  • Participants
  • Parent commits 71e78c8
  • Branches default
  • Tags 1103.2

Comments (0)

Files changed (1)

File pmxbot/

 		onick, tm, chan)
 		return "Sorry!  I don't have any record of %s speaking" % onick
+@command("logs", doc="Where can one find the logs?")
+def logs(client, event, channel, nick, rest):
+	return pmxbot.config.get('logs URL') or ("I don't know where the logs "
+		"are. Maybe try http://{server_host} or ask the admin to set the "
+		"'logs URL' config parameter.".format(**pmxbot.config))