mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
parent
a58ac7cd2e
commit
c40efd479b
@ -1710,6 +1710,12 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass):
|
|||||||
"channel": channel,
|
"channel": channel,
|
||||||
"reason": _(MUTE_UNMUTE_ISSUES["left_guild"]),
|
"reason": _(MUTE_UNMUTE_ISSUES["left_guild"]),
|
||||||
}
|
}
|
||||||
|
except discord.Forbidden:
|
||||||
|
return {
|
||||||
|
"success": False,
|
||||||
|
"channel": channel,
|
||||||
|
"reason": _(MUTE_UNMUTE_ISSUES["permissions_issue_channel"]),
|
||||||
|
}
|
||||||
if move_channel:
|
if move_channel:
|
||||||
try:
|
try:
|
||||||
await user.move_to(channel)
|
await user.move_to(channel)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user