moar PEP8
This commit is contained in:
parent
9f0bcbbac5
commit
715f926846
5 changed files with 69 additions and 66 deletions
|
@ -1,19 +1,22 @@
|
|||
from util import hook
|
||||
|
||||
|
||||
# CTCP responses
|
||||
@hook.regex(r'^\x01VERSION\x01$')
|
||||
def ctcpversion(inp, notice=None):
|
||||
notice('\x01VERSION: CloudBot - http://git.io/cloudbot')
|
||||
|
||||
|
||||
|
||||
@hook.regex(r'^\x01PING\x01$')
|
||||
def ctcpping(inp, notice=None):
|
||||
notice('\x01PING: PONG')
|
||||
|
||||
|
||||
|
||||
@hook.regex(r'^\x01TIME\x01$')
|
||||
def ctcptime(inp, notice=None):
|
||||
notice('\x01TIME: GET A WATCH')
|
||||
|
||||
|
||||
@hook.regex(r'^\x01FINGER\x01$')
|
||||
def ctcpfinger(inp, notice=None):
|
||||
notice('\x01FINGER: WHERE ARE YOU PUTTING THAT')
|
||||
|
||||
|
|
Reference in a new issue