aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-10-18 15:25:48 +0300
committerGravatar ks129 <[email protected]>2020-10-18 15:25:48 +0300
commitdb0251496884add226e66e0522f27521b1be1496 (patch)
tree832eb01fe4f6f84db07bafac6850165d57b1cdce
parentUse .title() instead of .capitalize() (diff)
Fix too long lines for Voice Gate
-rw-r--r--bot/exts/moderation/voice_gate.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/bot/exts/moderation/voice_gate.py b/bot/exts/moderation/voice_gate.py
index 5516675d1..37db5dc87 100644
--- a/bot/exts/moderation/voice_gate.py
+++ b/bot/exts/moderation/voice_gate.py
@@ -59,14 +59,21 @@ class VoiceGate(Cog):
if e.status == 404:
embed = discord.Embed(
title="Not found",
- description=f"We were unable to find user data for you. Please try again shortly, if this problem persists please contact the server staff through Modmail.",
+ description=(
+ "We were unable to find user data for you. "
+ "Please try again shortly, "
+ "if this problem persists please contact the server staff through Modmail.",
+ ),
color=Colour.red()
)
log.info(f"Unable to find Metricity data about {ctx.author} ({ctx.author.id})")
else:
embed = discord.Embed(
title="Unexpected response",
- description="We encountered an error while attempting to find data for your user. Please try again and let us know if the problem persists.",
+ description=(
+ "We encountered an error while attempting to find data for your user. "
+ "Please try again and let us know if the problem persists."
+ ),
color=Colour.red()
)
log.warning(f"Got response code {e.status} while trying to get {ctx.author.id} Metricity data.")