Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion cogs/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
10 changes: 10 additions & 0 deletions config/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}