Today I have worked in the permission module. I've included it in the
online help system, adopted the new regular expression system,
added permission checking commands, and changed the admin permission
This last change is VERY important if you're running a pybot system and
are planning to update.
Before I made this change, administrator's permission (gosh) was handled
in a different way than everything else. It was error prone, and boring
to develop support. Now it's a common permission named "admin", and can
be shown and changed just like any other.
The main difference in the administrator permission was keeped: users who
have the "admin" permission have access to ANY OTHER permission. But now
it also has a little and important feature: if there are NO
administrators, EVERYBODY is an administrator. Why is that? Simple. This
situation is meant to be just the bot startup. The first thing you must
do when pybot does its first connection is set the "admin" permission
Then remember, just after you update your pybot code, it will be
*COMPLETELY* open, so set the "admin" permission to yourself before
anything else. If you don't know how to do this, or just forgot, ask
pybot for help with "help permissions".
Another change I've made today is the implementation of a logging
module. It has commands to show when was the last time is has seen
somebody, and also search the logs with a regular expression.
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]