[Audio] Check required permissions in events (#4960)

This commit is contained in:
PredaaA
2021-05-18 22:30:26 +02:00
committed by GitHub
parent e467833cee
commit 9986cbe6b5
4 changed files with 21 additions and 12 deletions

View File

@@ -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()