~ubuntu-branches/ubuntu/utopic/gozerbot/utopic

« back to all changes in this revision

Viewing changes to build/lib/gplugs/bender.py

  • Committer: Package Import Robot
  • Author(s): Jeremy Malcolm
  • Date: 2012-04-03 21:58:28 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120403215828-6mik0tzug5na93la
Tags: 0.99.1-2
* Removes logfiles on purge (Closes: #668767)
* Reverted location of installed files back to /usr/lib/gozerbot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# plugs/bender.py
 
2
#
 
3
#
 
4
#
 
5
 
 
6
""" uses the random lib """
 
7
 
 
8
__copyright__ = 'this file is in the public domain'
 
9
__revision__ = '$Id: bender.py 517 2007-02-04 11:17:00Z deck $'
 
10
 
 
11
from gozerbot.generic import handle_exception
 
12
from gozerbot.commands import cmnds
 
13
from gozerbot.examples import examples
 
14
from gozerbot.plughelp import plughelp
 
15
from gozerbot.tests import tests
 
16
import re, random
 
17
 
 
18
plughelp.add('bender', 'display a bender quote')
 
19
 
 
20
benders=["Bite my shiny, metal ass!",
 
21
 "Bite my glorious, golden ass!",
 
22
 "Bite my shiny, colossal ass!",
 
23
 "Bite my splintery, wooden ass!",
 
24
 "Lick my frozen, metal ass!",
 
25
 "Like most of life's problems, this one can be solved with bending.",
 
26
 "Cheese it!",
 
27
 "Well, I'm boned.",
 
28
 "Hey, sexy mama...wanna kill all humans?",
 
29
 "Oh! Your! God!",
 
30
 "He's pending for a bending!",
 
31
 "This is the worst kind of discrimination - the kind against me!",
 
32
 "In case of emergency, my ass can be used as a flotation device.",
 
33
 "In order to get busy at maximum efficiency, I need a girl with a big, 400-ton booty.",
 
34
 "I'm sick of shaking my booty for these fat jerks!",
 
35
 "Bite my red-hot glowing ass!",
 
36
 "All I know is, this gold says it was the best mission ever.",
 
37
 "Hey, guess what you're all accessories to.",
 
38
 "Well, I don't have anything else planned for today. Let's get drunk!",
 
39
 "Oh, no room for Bender, huh? Fine! I'll go build my own lunar lander! With blackjack and hookers! In fact, forget the lunar lander and the blackjack! Ah, screw the whole thing.",
 
40
 "I found it in the street! Like all the food I cook.",
 
41
 "I can't stand idly by while poor people get free food!",
 
42
 "Congratulations Fry, you've snagged the perfect girlfriend. Amy's rich, she's probably got other characteristics...",
 
43
 "You may need to metaphorically make a deal with the devil. By 'devil' I mean robot devil and by 'metaphorically' I mean get your coat.",
 
44
 "Boy, who knew a cooler could also make a handy wang coffin?",
 
45
 "Call me old fashioned but I like a dump to be as memorable as it is devastating.",
 
46
 "My life, and by extension everyone else's is meaningless.",
 
47
 "Do I preach to you while you're lying stoned in the gutter? No.",
 
48
 "Everybody's a jerk. You, me, this jerk.",
 
49
 "I hate the people that love me and they hate me.",
 
50
 "I've personalized each of your meals. Amy, you're cute, so I baked you a pony!",
 
51
 "Ahh, computer dating. It's like pimping, but you rarely have to use the phrase, 'upside your head'.",
 
52
 "Court's kinda fun when it's not my ass on the line!",
 
53
 "Maybe you can interface with my ass! By biting it!",
 
54
 "Well, I'll go build my own theme park! With blackjack and hookers! In fact, forget the park!",
 
55
 "Compare your lives to mine and then kill yourself!",
 
56
 "I would give up my 8 other senses, even smision, for a sense of taste!",
 
57
 "Stupid anti-pimping laws!",
 
58
 "Blackmail's such an ugly word. I prefer extortion. The x makes it sound cool.",
 
59
 "Great is ok, but amazing would be great!",
 
60
 "The pie is ready. You guys like swarms of things, right?",
 
61
 "Fry cracked corn, and I don't care; Leela cracked corn, I still don't care; Bender cracked corn, and he is great! Take that you stupid corn!",
 
62
 "Stay away from our women. You got metal fever, baby, metal fever!",
 
63
 "If it ain't black and white, peck, scratch and bite.",
 
64
 "Life is hilariously cruel.",
 
65
 "Pardon me, brother. Care to donate to the anti-mugging you fund?",
 
66
 "I love this planet. I've got wealth, fame, and access to the depths of sleaze that those things bring.",
 
67
 "C'mon, it's just like making love. Y'know, left, down, rotate sixty-two degrees, engage rotors...",
 
68
 "Oh my God, I'm so excited I wish I could wet my pants.",
 
69
 "Argh. The laws of science be a harsh mistress.",
 
70
 "In the event of an emergency, my ass can be used as a floatation device.",
 
71
 "Hey, I got a busted ass here! I don't see anyone kissing it.",
 
72
 "I'm a fraud - a poor, lazy, sexy fraud.",
 
73
 "This'll show those filthy bastards who's loveable!"]
 
74
 
 
75
def handle_bender(bot, ievent):
 
76
    ievent.reply(random.choice(benders))
 
77
    
 
78
cmnds.add('bender', handle_bender, 'USER')
 
79
examples.add('bender', 'show a bender quote', 'bender')
 
80
tests.add('bender')