Jason R. Coombs committed 7eb13ff

Added a new command to help people find the logs

Comments (0)

Files changed (1)


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