mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 18:02:31 -05:00
[Audio] Fix trying to send notify message with no channel object (#6429)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user