Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes things #269

Merged
merged 1 commit into from
Oct 22, 2024
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
4 changes: 2 additions & 2 deletions plugins/ban/ban.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async def ban(
)
else:
await ctx.send(f"{user} a bien été banni !")
await ctx.send("https://thumbs.gfycat.com/LikelyColdBasil-small.gif")
await ctx.send("https://media.tenor.com/d0VNnBZkSUkAAAAM/bongocat-banhammer.gif")
return

# Friendly ban if the guild is in the config
Expand Down Expand Up @@ -187,7 +187,7 @@ async def rban(
)
else:
await ctx.send(f"{user} a bien été banni !")
await ctx.send("https://thumbs.gfycat.com/LikelyColdBasil-small.gif")
await ctx.send("https://media.tenor.com/d0VNnBZkSUkAAAAM/bongocat-banhammer.gif")

def load_friendly_ban(self):
"""Loads configuration and events for the friendly ban command"""
Expand Down
2 changes: 1 addition & 1 deletion plugins/misc/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ async def kill(self, ctx: MyContext, *, target: str = None):
msg = await self.bot._(ctx.channel, f"misc.kills.{choice}")
tries += 1

footer = self.bot._(ctx.channel, "misc.kills.footer")
footer = await self.bot._(ctx.channel, "misc.kills.footer")

# Building the result message
embed = discord.Embed(
Expand Down
Loading