mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Mod] Added voice kicking. (#2639)
* Added voice kicking.
* Reversed exceptions.
* Lets use a check that works for this task 👀
* Update abc.py
* Black formatting
This commit is contained in:
@@ -20,6 +20,13 @@ class MixinMeta(ABC):
|
||||
self.ban_queue: List[Tuple[int, int]]
|
||||
self.unban_queue: List[Tuple[int, int]]
|
||||
|
||||
@staticmethod
|
||||
@abstractmethod
|
||||
async def _voice_perm_check(
|
||||
ctx: commands.Context, user_voice_state: Optional[discord.VoiceState], **perms: bool
|
||||
) -> bool:
|
||||
raise NotImplementedError()
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
async def get_audit_entry_info(
|
||||
|
||||
Reference in New Issue
Block a user