m
This commit is contained in:
parent
9eff0f0cab
commit
62690d76eb
2 changed files with 31 additions and 31 deletions
|
@ -1,22 +1,22 @@
|
||||||
rips off <who>'s <body> and leaves them to die.
|
rips off {user}'s legs and leaves them to die.
|
||||||
grabs <who>'s head and rips it clean off their body.
|
grabs {user}'s head and rips it clean off their body.
|
||||||
grabs a machine gun and riddles <who>'s body with bullets.
|
grabs a machine gun and riddles {user}'s body with bullets.
|
||||||
gags and ties <who> then throws them off a bridge.
|
gags and ties {user} then throws them off a bridge.
|
||||||
crushes <who> with a huge spiked boulder.
|
crushes {user} with a huge spiked boulder.
|
||||||
glares at <who> until they die of boredom.
|
glares at {user} until they die of boredom.
|
||||||
shivs <who> in the <body> a few times.
|
shivs {user} in the heart a few times.
|
||||||
rams a rocket launcher up <who>'s ass and lets off a few rounds.
|
rams a rocket launcher up {user}'s ass and lets off a few rounds.
|
||||||
crushes <who>'s skull in with a spiked mace.
|
crushes {user}'s skull in with a spiked mace.
|
||||||
unleashes the armies of Isengard on <who>.
|
unleashes the armies of Isengard on {user}.
|
||||||
gags and ties <who> then throws them off a building to their death.
|
gags and ties {user} then throws them off a building to their death.
|
||||||
reaches out and punches right through <who>'s chest.
|
reaches out and punches right through {user}'s chest.
|
||||||
slices <who>'s <body> off with a sharpened Katana.
|
slices {user}'s limbs off with a sharpened Katana.
|
||||||
throws <who> to Cthulu and watches them get ripped to shreds.
|
throws {user} to Cthulu and watches them get ripped to shreds.
|
||||||
feeds <who> to an owlbear who then proceeds to maul them violently.
|
feeds {user} to an owlbear who then proceeds to maul them violently.
|
||||||
turns <who> into a snail and salts them.
|
turns {user} into a snail and salts them.
|
||||||
snacks on <who>'s dismembered <body>.
|
snacks on {user}'s dismembered body.
|
||||||
stuffs some TNT up <who>'s ass and waits for it to go off.
|
stuffs some TNT up {user}'s ass and waits for it to go off.
|
||||||
puts <who> into a sack, throws the sack in the river, and hurls the river into space.
|
puts {user} into a sack, throws the sack in the river, and hurls the river into space.
|
||||||
goes bowling with <who>'s bloody disembodied head.
|
goes bowling with {user}'s bloody disembodied head.
|
||||||
sends <who> to /dev/null!
|
sends {user} to /dev/null!
|
||||||
feeds <who> coke and mentos till they violently explode.
|
feeds {user} coke and mentos till they violently explode.
|
||||||
|
|
|
@ -70,18 +70,18 @@ def lart(inp, me=None, nick=None, conn=None, notice=None):
|
||||||
@hook.command
|
@hook.command
|
||||||
def kill(inp, me=None, nick=None, conn=None, notice=None):
|
def kill(inp, me=None, nick=None, conn=None, notice=None):
|
||||||
"kill <user> -- Makes the bot kill <user>."
|
"kill <user> -- Makes the bot kill <user>."
|
||||||
target = inp.lower()
|
target = inp.strip()
|
||||||
|
|
||||||
if not re.match(nick_re, target):
|
if " " in target:
|
||||||
notice("Invalid username!")
|
notice("Invalid username!")
|
||||||
return
|
return
|
||||||
|
|
||||||
if target == conn.nick.lower() or target == "itself":
|
# if the user is trying to make the bot slap itself, slap them
|
||||||
|
if target.lower() == conn.nick.lower() or target.lower() == "itself":
|
||||||
target = nick
|
target = nick
|
||||||
else:
|
|
||||||
target = inp
|
|
||||||
|
|
||||||
out = random.choice(kills)
|
values = {"user": target}
|
||||||
out = out.replace('<who>', target)
|
phrase = random.choice(kills)
|
||||||
out = out.replace('<body>', random.choice(parts))
|
|
||||||
me(out)
|
# act out the message
|
||||||
|
me(phrase.format(**values))
|
||||||
|
|
Reference in a new issue