mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 01:42:30 -05:00
[Audio] Check required permissions in events (#4960)
This commit is contained in:
@@ -231,6 +231,10 @@ class MixinMeta(ABC):
|
||||
) -> discord.Message:
|
||||
raise NotImplementedError()
|
||||
|
||||
@abstractmethod
|
||||
def _has_notify_perms(self, channel: discord.TextChannel) -> bool:
|
||||
raise NotImplementedError()
|
||||
|
||||
@abstractmethod
|
||||
async def update_external_status(self) -> bool:
|
||||
raise NotImplementedError()
|
||||
|
||||
Reference in New Issue
Block a user