Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Majoras16 authored and Aeris1One committed Oct 22, 2024
1 parent 3d81baa commit c50f9da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit c50f9da

Please sign in to comment.