Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- """
- ver.py - Phenny VERSION Module
- """
- # Variables
- verq = "\x01VERSION\x01" # Defines a VERSION request.
- noti = "NOTICE" # Performs a NOTICE command.
- reply = "\x01VERSION Porygon 1.0.4\x01" # Defines the VERSION reply.
- # Replies to any requested VERSION requests.
- def ver(phenny, input):
- phenny.write((noti, input.nick), reply)
- ver.rule = verq
- if __name__ == '__main__':
- print __doc__.strip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement