diff --git a/cogs/fun.py b/cogs/fun.py index d3e4d116..df464625 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -41,7 +41,24 @@ async def stroketranslate(self, ctx: ApplicationContext, strok: str): @option(name="question", description="What do you want to predict?", type=str) async def prediction(self, ctx: ApplicationContext, question: str): await ctx.respond(f"My prediction is... **{random.choice(['Yes', 'No'])}!**") - + + @commands.slash_command( + name="kill", + description="Kills someone." + ) + @option(name="target", description="Who do you want to kill?", type=discord.User, default=None) + async def kill(self, ctx: ApplicationContext, target: discord.User = None): + if target == None: return await ctx.respond("Okay, so you just died. Now find someone else to kill.") + responses = [ + f"{target.display_name} died in the toilet from eating too much Taco Bell.", + f"{target.display_name} commited DUI and banged their car into a tree.", + f"{target.display_name} lost a game in fortnite and broke their phone in a rage.", + f"{target.display_name} tried murdering {ctx.author.display_name} but *accidentally* pointed the gun the wrong way.", + f"{target.display_name} forgot to pay their life tax.", + f"{target.display_name} ripped and destoryed their birth certificate. Now they don't exist anymore.", + f"{target.display_name} tried to do a wheelie on their bike without wearing a helmet and fell off." + ] + await ctx.respond(random.choice(responses)) # Initialization def setup(bot): bot.add_cog(Fun(bot)) diff --git a/config/commands.json b/config/commands.json index 4acc2888..02766d1c 100644 --- a/config/commands.json +++ b/config/commands.json @@ -648,5 +648,15 @@ "usable_by": "everyone", "disabled": false, "bugged": false + }, + "kill": { + "name": "Treasury", + "description": "Lets you kill someone.", + "type": "fun", + "cooldown": null, + "args": ["target"], + "usable_by": "everyone", + "disabled": false, + "bugged": false } }