mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Audio] UX improvements to [p]summon command (#5186)
This commit is contained in:
parent
2ab46fbe41
commit
2b67b9d06d
@ -667,11 +667,16 @@ class PlayerControllerCommands(MixinMeta, metaclass=CompositeMetaClass):
|
||||
and ctx.guild.me in ctx.author.voice.channel.members
|
||||
):
|
||||
ctx.command.reset_cooldown(ctx)
|
||||
return
|
||||
return await self.send_embed_msg(
|
||||
ctx,
|
||||
title=_("Unable To Do This Action"),
|
||||
description=_("I am already in your channel."),
|
||||
)
|
||||
await player.move_to(
|
||||
ctx.author.voice.channel,
|
||||
deafen=await self.config.guild_from_id(ctx.guild.id).auto_deafen(),
|
||||
)
|
||||
await ctx.tick()
|
||||
except AttributeError:
|
||||
ctx.command.reset_cooldown(ctx)
|
||||
return await self.send_embed_msg(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user