diff --git a/cogs/commands.py b/cogs/commands.py index 4e5fa78..049127c 100755 --- a/cogs/commands.py +++ b/cogs/commands.py @@ -224,8 +224,8 @@ class Commands(commands.Cog): await ctx.message.add_reaction(emoji = "✅") limite_voice_channels = 7 if len(voice_channels) > limite_voice_channels: - return await ctx.send(f"""Désolé mais il y a plus de {limite_voice_channels} salons vocaux sur ce serveur, utilisez plutôt `{ctx.prefix}appel {{ID salon vocal}}` - \nPour savoir comment récuperer l'id d'un salon vous pouvez faire `{ctx.prefix}getid`""") + return await ctx.send(f"""Désolé mais il y a plus de {limite_voice_channels} salons vocaux sur ce serveur, utilisez plutôt `{ctx.prefix}appel {{ID salon vocal}}`. + \nPour savoir comment récuperer l'id d'un salon vous pouvez faire `{ctx.prefix}getid`.""") if voice_channel: canal = self.bot.get_channel(voice_channel) if canal.type.__str__() == "voice":