fixing slash command name "connect"
This commit is contained in:
parent
88b54b4691
commit
7bfc498ed4
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ class Music(commands.Cog, wavelink.WavelinkMixin):
|
||||||
await ctx.send(f":thumbsup: **Connecté à __{channel.name}__**")
|
await ctx.send(f":thumbsup: **Connecté à __{channel.name}__**")
|
||||||
if fromSlash != True:
|
if fromSlash != True:
|
||||||
return await addReaction(ctx.message, 0)
|
return await addReaction(ctx.message, 0)
|
||||||
@cog_ext.cog_slash(name="join", description = "Se connecte au salon vocal.")
|
@cog_ext.cog_slash(name="connect", description = "Se connecte au salon vocal.")
|
||||||
async def _connect(self, ctx, channel = None):
|
async def _connect(self, ctx, channel = None):
|
||||||
return await self.connect(ctx = ctx, channel = channel, fromSlash = True)
|
return await self.connect(ctx = ctx, channel = channel, fromSlash = True)
|
||||||
|
|
||||||
|
|
Reference in a new issue