Skip to content

Commit

Permalink
Fix for custom messages for owners
Browse files Browse the repository at this point in the history
  • Loading branch information
yamikaitou committed Jan 28, 2018
1 parent 5da57a5 commit e3940b0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kill/kill.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ async def _kill(self, context, victim: discord.Member):
"""Randomly chooses a kill."""
server = context.message.server
author = context.message.author
if victim.id == 192153481165930496:
await self.bot.say("(DEBUG) Success1")
if victim.id == '192153481165930496':
await self.bot.say("(DEBUG) Success2")
if server.id in self.kills:
x = list(self.kills[server.id].keys())
if victim.id == author.id:
message = 'Per the Laws of Robotics, I cannot allow you to kill yourself'
elif victim.id == self.bot.user.id:
message = '{victim}\'s eyes glow bright red as he stares at the knife {killer} is holding. {killer} wets their pants and runs away screaming for their mommy'.format(victim=victim.mention, killer=author.mention)
elif victim.id == 192153481165930496:
elif victim.id == '192153481165930496':
message = '{killer} follows {victim} down a dark alley. {killer} rushes in for the kill but goes right through {victim} as if he wasn\'t even there. {killer} looks around confused. {victim} appears behind {killer} and smashes him with a very large hammer.'.format(victim=victim.mention, killer=author.mention)
#elif victim.id == 132016351622594560:
#message = 'Taco'
Expand Down

0 comments on commit e3940b0

Please sign in to comment.