mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Audio] Fix trying to send notify message with no channel object (#6429)
This commit is contained in:
parent
3c49a77e34
commit
818420a641
@ -198,6 +198,8 @@ class AudioEvents(MixinMeta, metaclass=CompositeMetaClass):
|
||||
if not guild:
|
||||
return
|
||||
notify_channel = guild.get_channel_or_thread(player.fetch("notify_channel"))
|
||||
if not notify_channel:
|
||||
return
|
||||
has_perms = self._has_notify_perms(notify_channel)
|
||||
tries = 0
|
||||
while not player._is_playing:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user