Ajout info + syntaxe à la commande d'appel
This commit is contained in:
parent
f33f1b8430
commit
a68dff47d1
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Reference in a new issue