From 1e0f75a1a0a6fa62a8145d8a84e6014b6ce2ee2d Mon Sep 17 00:00:00 2001 From: eip <36315290+eip618@users.noreply.github.com> Date: Sat, 1 Jun 2024 19:16:08 +1000 Subject: [PATCH] change ban success messages to funny list and probably break something but maybe not --- cogs/kickban.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cogs/kickban.py b/cogs/kickban.py index 76f475fe..8e86538b 100644 --- a/cogs/kickban.py +++ b/cogs/kickban.py @@ -70,6 +70,13 @@ async def kick_member(self, ctx: GuildContext, member: discord.Member, *, reason @commands.command(name="ban", aliases=["yeet"]) async def ban_member(self, ctx: GuildContext, member: discord.Member | discord.User, days: Optional[Literal[0, 1, 2, 3, 4, 5, 6, 7]] = 0, *, reason: Optional[str] = None): """Bans a user from the server. OP+ only. Optional: [days] Specify up to 7 days of messages to delete.""" + success_list = [f"{member} is now b&. 👍", + f"{member} has been thrown into the sun. 👍", + f"{member} is now heren't. 👍", + f"{member} has been shown the door. 👍", + f"{member} fucked around and found out. 👍", + f"{member} has been yeeted. 👍", + f"{member} received three copyright strikes. 👍"] if await check_bot_or_staff(ctx, member, "ban"): return @@ -89,7 +96,7 @@ async def ban_member(self, ctx: GuildContext, member: discord.Member | discord.U # Remove any timeban await self.restrictions.remove_restriction(member, Restriction.Ban) - await ctx.send(f"{member} is now b&. 👍") + await ctx.send(random.choice(success_list)) await self.bot.logs.post_action_log(ctx.author, member, 'ban', reason=reason) @is_staff_app("OP")