Ajout info + syntaxe à la commande d'appel

This commit is contained in:
Mylloon 2020-11-24 12:00:15 +01:00
parent f33f1b8430
commit a68dff47d1

View file

@ -218,6 +218,7 @@ class Commands(commands.Cog):
@commands.command(name='appel') @commands.command(name='appel')
@commands.has_any_role("Professeur", "professeur", "Prof", "prof") @commands.has_any_role("Professeur", "professeur", "Prof", "prof")
async def _appel(self, ctx, *, voice_channel: int = None): async def _appel(self, ctx, *, voice_channel: int = None):
"""Fais l'appel\n ➡ Syntaxe: .appel [ID salon vocal] """
voice_channels = [] voice_channels = []
voice_channels.extend(ctx.guild.voice_channels) voice_channels.extend(ctx.guild.voice_channels)
if voice_channel: if voice_channel: