fixing slash command name "connect"

This commit is contained in:
Mylloon 2021-08-16 20:07:02 +02:00
parent 88b54b4691
commit 7bfc498ed4

View file

@ -490,7 +490,7 @@ class Music(commands.Cog, wavelink.WavelinkMixin):
await ctx.send(f":thumbsup: **Connecté à __{channel.name}__**")
if fromSlash != True:
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):
return await self.connect(ctx = ctx, channel = channel, fromSlash = True)