the cake is a lie

This commit is contained in:
2015-02-06 15:13:03 +01:00
committed by urlbot
parent f4cb792c83
commit 6858df0491

View File

@@ -440,8 +440,23 @@ def command_cake(argv, **args):
if 'cake' != argv[0]:
return
cakes = [ "No cake for you!",
("The Enrichment Center is required to remind you "
"that you will be baked, and then there will be cake."),
"The cake is a lie!",
("This is your fault. I'm going to kill you. "
"And all the cake is gone. You don't even care, do you? "),
"Quit now and cake will be served immediately.",
("Enrichment Center regulations require both hands to be "
"empty before any cake..."),
("Uh oh. Somebody cut the cake. I told them to wait for "
"you, but they did it anyway. There is still some left, "
"though, if you hurry back."),
"I'm going to kill you, and all the cake is gone.",
"Who's gonna make the cake when I'm gone? You?" ]
return {
'msg': args['reply_user'] + ': no cake for you'
'msg': args['reply_user'] + ': %s' % (random.sample(cakes,1)[0])
}
@pluginfunction("remember", "remembers something", ptypes.COMMAND)