aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/fun/devops_rules.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2025-02-15 16:20:39 +0000
committerGravatar Chris Lovering <[email protected]>2025-02-15 16:20:39 +0000
commitec080a3ae2a2e99e762c11a3e643e049de1239e9 (patch)
tree1f6a5829647a30c71bfecf85d6224315e867f881 /arthur/exts/fun/devops_rules.py
parentBump deps to latest (diff)
Format code to new ruff rules
Diffstat (limited to 'arthur/exts/fun/devops_rules.py')
-rw-r--r--arthur/exts/fun/devops_rules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/fun/devops_rules.py b/arthur/exts/fun/devops_rules.py
index b0f72cd..418c51c 100644
--- a/arthur/exts/fun/devops_rules.py
+++ b/arthur/exts/fun/devops_rules.py
@@ -40,7 +40,7 @@ class Rules(Cog):
output_rules = self.rules.keys()
if not output_rules:
- await ctx.send(f":x: Rule{"s"[: len(rules) ^ 1]} not found.")
+ await ctx.send(f":x: Rule{'s'[: len(rules) ^ 1]} not found.")
return
output = "\n".join(
@@ -48,7 +48,7 @@ class Rules(Cog):
)
await ctx.send(
embed=discord.Embed(
- title=f"Rule{"s"[: len(output_rules) ^ 1]}",
+ title=f"Rule{'s'[: len(output_rules) ^ 1]}",
description=output,
colour=discord.Colour.og_blurple(),
url="https://docs.pydis.wtf/onboarding/rules.html",