Event module: remove vacs command
This commit is contained in:
parent
a0fca91d06
commit
aa285b1393
@ -19,7 +19,7 @@ def help_tiny ():
|
|||||||
return "events manager"
|
return "events manager"
|
||||||
|
|
||||||
def help_full ():
|
def help_full ():
|
||||||
return "This module store a lot of events: ny, we, vacs, " + (", ".join(DATAS.index.keys())) + "\n!eventslist: gets list of timer\n!start /something/: launch a timer"
|
return "This module store a lot of events: ny, we, " + (", ".join(DATAS.index.keys())) + "\n!eventslist: gets list of timer\n!start /something/: launch a timer"
|
||||||
|
|
||||||
CONTEXT = None
|
CONTEXT = None
|
||||||
|
|
||||||
@ -66,13 +66,6 @@ def cmd_we(msg):
|
|||||||
"Youhou, on est en week-end depuis %s."),
|
"Youhou, on est en week-end depuis %s."),
|
||||||
channel=msg.channel)
|
channel=msg.channel)
|
||||||
|
|
||||||
def cmd_vacances(msg):
|
|
||||||
return Response(msg.sender,
|
|
||||||
msg.countdown_format(datetime(2013, 7, 30, 18, 0, 1),
|
|
||||||
"Il reste %s avant les vacances :)",
|
|
||||||
"Profitons, c'est les vacances depuis %s."),
|
|
||||||
channel=msg.channel)
|
|
||||||
|
|
||||||
def start_countdown(msg):
|
def start_countdown(msg):
|
||||||
if msg.cmds[1] not in DATAS.index:
|
if msg.cmds[1] not in DATAS.index:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user