Skip to content

Commit

Permalink
fix(perms): remove unused translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ZRunner committed Feb 7, 2024
1 parent 165fdac commit 2451a29
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions fcts/perms.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ async def check_permissions(self, ctx: MyContext, channel:AcceptableChannelTypes
..Example permissions 0b1001
..Doc infos.html#permissions"""
if ctx.current_argument and target is None and channel is None:
await ctx.send(await self.bot._(ctx.guild.id, "permissions.invalid_arg", arg=ctx.current_argument))
return
if target is None:
target = ctx.author
if isinstance(target, discord.Member):
Expand Down
1 change: 0 additions & 1 deletion lang/permissions/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"category": "In category %{name}",
"general": "General permissions"
},
"invalid_arg": "Invalid argument: %{arg}",
"list": {
"add_reactions": "Add reactions",
"administrator": "Administrator",
Expand Down
1 change: 0 additions & 1 deletion lang/permissions/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"category": "Dans la catégorie %{name}",
"general": "Permissions générales"
},
"invalid_arg": "Argument invalide : %{arg}",
"list": {
"add_reactions": "Ajouter des réactions",
"administrator": "Administrateur",
Expand Down

0 comments on commit 2451a29

Please sign in to comment.