aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/moderation/voice_gate.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/moderation/voice_gate.py b/bot/exts/moderation/voice_gate.py
index 427fdfc1a..6bcca2874 100644
--- a/bot/exts/moderation/voice_gate.py
+++ b/bot/exts/moderation/voice_gate.py
@@ -30,7 +30,7 @@ MESSAGE_FIELD_MAP = {
}
VOICE_PING = (
- "Hello, {}! Wondering why you can't talk in the voice channels? "
+ "Hello, {0}! Wondering why you can't talk in the voice channels? "
"Use the `!voiceverify` command in here to verify. "
"If you don't yet qualify, you'll be told why!"
)
@@ -68,7 +68,6 @@ class VoiceGate(Cog):
- You must not be actively banned from using our voice channels
- You must have been active for over a certain number of 10-minute blocks
"""
-
# If user has received a ping in voice_verification, delete the message
if message_id := await self.redis_cache.get(ctx.author.id, None):
with suppress(discord.NotFound):
@@ -189,7 +188,7 @@ class VoiceGate(Cog):
@Cog.listener()
async def on_voice_state_update(self, member: Member, *_) -> None:
- """Pings a user if they've never joined the voice chat before and aren't verified"""
+ """Pings a user if they've never joined the voice chat before and aren't verified."""
if member.bot:
log.trace("User is a bot. Ignore.")
return