diff options
| author | 2020-10-10 17:39:51 +0300 | |
|---|---|---|
| committer | 2020-10-10 17:39:51 +0300 | |
| commit | 90356113d6bf75a9567af5be22cbe5422f2cab4d (patch) | |
| tree | 5ad327093f716bec0153c566a57f3d36ac625765 | |
| parent | PR #1151 Sync: remove confirmation (diff) | |
Create base Voice Gate cog
| -rw-r--r-- | bot/exts/moderation/voice_gate.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/exts/moderation/voice_gate.py b/bot/exts/moderation/voice_gate.py new file mode 100644 index 000000000..198617857 --- /dev/null +++ b/bot/exts/moderation/voice_gate.py @@ -0,0 +1,15 @@ +from discord.ext.commands import Cog + +from bot.bot import Bot + + +class VoiceGate(Cog): + """Voice channels verification management.""" + + def __init__(self, bot: Bot): + self.bot = bot + + +def setup(bot: Bot) -> None: + """Loads the VoiceGate cog.""" + bot.add_cog(VoiceGate(bot)) |