aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-10-10 17:39:51 +0300
committerGravatar ks129 <[email protected]>2020-10-10 17:39:51 +0300
commit90356113d6bf75a9567af5be22cbe5422f2cab4d (patch)
tree5ad327093f716bec0153c566a57f3d36ac625765
parentPR #1151 Sync: remove confirmation (diff)
Create base Voice Gate cog
-rw-r--r--bot/exts/moderation/voice_gate.py15
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))