start multi language support for mod commands
@@ -41,9 +41,7 @@ class Mod(commands.Cog):
return
if not await self.perm_check(ctx.author, user):
- await ctx.send(
- embed=discord.Embed(color=self.d.cc,
- title='You don\'t have the permissions to do that!'))
+ await ctx.send(embed=discord.Embed(color=self.d.cc, title=ctx.l.mod.no_perms))
return
await ctx.guild.kick(user, reason=reason)
@@ -62,7 +60,7 @@ class Mod(commands.Cog):
if not await self.perm_check(ctx.author, user):
await ctx.send(
- embed=discord.Embed(color=self.d.cc, title='You don\'t have the permissions to do that!'))
+ embed=discord.Embed(color=self.d.cc, title=ctx.l.mod.no_perms))
return
for entry in await ctx.guild.bans():
