Changeset 137
- Timestamp:
- 06/06/08 21:02:22 (2 months ago)
- Files:
-
- trunk/antimatter/luke/myplugs/libtracker/auth.py (modified) (1 diff)
- trunk/antimatter/luke/myplugs/libtracker/tracker.py (copied) (copied from trunk/antimatter/luke/myplugs/tracker.py) (1 diff)
- trunk/antimatter/luke/myplugs/libtracker/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/antimatter/luke/myplugs/libtracker/auth.py
r136 r137 4 4 def authenticate_name(bot, ievent): 5 5 """ Not authentication, just checks that the name exists """ 6 ievent.reply("Enter your username:", nick=ievent.nick)6 bot.say("Landon","Username?") 7 7 username = waitforuser(bot, ievent.userhost, 30) 8 8 return username.txt trunk/antimatter/luke/myplugs/libtracker/tracker.py
r130 r137 2 2 3 3 from gozerbot.commands import cmnds 4 #from tracker.auth import authenticate_name 4 import myplugs.libtracker.auth as auth 5 5 6 6 def start_tracker(bot, ievent): 7 7 ievent.reply("whoo?") 8 #user = auth.authenticate_name(bot, ievent) 8 user = auth.authenticate_name(bot, ievent) 9 ievent.reply(user) 9 10 10 11 cmnds.add('tracker', start_tracker, 'USER') trunk/antimatter/luke/myplugs/libtracker/__init__.py
r132 r137 1 __all__ = ['auth', 'tracker']