Board Thread:Internal management/@comment-29326052-20161014235315/@comment-25571235-20161016060041

Current |kill source code:

from discord.ext import commands

import random

import discord

class Kill:

def __init__(self, bot):

self.bot = bot

@commands.command(pass_context=True)

async def kill(self, context, member : discord.Member):

"""Have you always wanted to kill someone? If so, do it in a creative way!"""

killer = context.message.author.mention

victim = member.mention

ways_to_kill = {}

ways_to_kill['1'] = '{0} shoots  in {1}\'s mouth with rainbow laser, causing {1}\'s head to explode with rainbows and {1} is reborn as unicorn.'.format(killer, victim)

ways_to_kill['3'] = '{0} is stuffed into a suit by Freddy on their night guard duty. Oh, not those animatronics again!'.format(victim)

ways_to_kill['4'] = '{0} grabs {1} and shoves them into an auto-freeze machine with some juice and sets the temperature to 100 Kelvin, creating human ice pops.'.format(killer, victim)

ways_to_kill['5'] = '{0} drowns {1} in a tub of hot chocolate. *"How was your last drink?"*'.format(killer, victim)

ways_to_kill['6'] = '{0} screams in terror as they accidentally spawn in the cthulhu while uttering random latin words. Cthulhu grabs {0} by the right leg and takes them to his dimension yelling,"Honey, Dinner\'s ready!"'.format(victim)

ways_to_kill['7'] = '{0} feeds toothpaste-filled oreos to {1}, who were apparently allergic to fluorine. GGWP.'.format(killer, victim)

ways_to_kill['8'] = '{0} forgot to zombie-proof {1}\'s lawn... Looks like zombies had a feast last night.'.format(killer, victim)

ways_to_kill['9'] = '{0} cranks up the music system only to realize the volume was at max and they are in heaven...'.format(victim)

ways_to_kill['10'] = '{0} presses a random button and is teleported to the height of 100m, allowing them to fall to their inevitable death. Moral of the story: Don\'t go around pressing random buttons.'.format(victim)

ways_to_kill['11'] = '{0} is injected with chocolate syrup, which mutates them into a person made out of chocolate. While doing a part-time job at the Daycare, they are devoured by the hungry babies.'.format(victim)

ways_to_kill['12'] = '{0} is sucked into Minecraft. {0}, being a noob at the so called "Real-Life Minecraft" faces the Game Over screen.'.format(victim)

await self.bot.say('**{0}**'.format(random.choice([ways_to_kill[i] for i in ways_to_kill])))

def setup(bot):

n = Kill(bot)

bot.add_cog(n)