Skip to content

Commit

Permalink
change ban success messages to funny list
Browse files Browse the repository at this point in the history
and probably break something but maybe not
  • Loading branch information
eip618 committed Jun 1, 2024
1 parent 499072a commit 1e0f75a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cogs/kickban.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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")
Expand Down

0 comments on commit 1e0f75a

Please sign in to comment.