aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/fun/devops_rules.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-07-05 14:30:41 +0100
committerGravatar Chris Lovering <[email protected]>2024-07-05 14:30:41 +0100
commit49edd2919925b13c0a5ad092f88499951d966c70 (patch)
treead4b758e535f56e075d24d8da3e1ec2b61a49a4e /arthur/exts/fun/devops_rules.py
parentAdd daily devops missions for added motivation (diff)
Bump ruff target version to 3.12
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 16f47e7..14bccde 100644
--- a/arthur/exts/fun/devops_rules.py
+++ b/arthur/exts/fun/devops_rules.py
@@ -38,7 +38,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(
@@ -46,7 +46,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://python-discord.github.io/infra/docs/onboarding/rules/",