aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/fun/devops_rules.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-04-10 22:02:49 +0100
committerGravatar GitHub <[email protected]>2024-04-10 22:02:49 +0100
commiteb615cab63227215f5089435f53f5bb6e6fc1d83 (patch)
treeee48f993a66e11662e75a6f02920b2c90dc26e96 /arthur/exts/fun/devops_rules.py
parentMerge pull request #172 from python-discord/dependabot/pip/sentry-sdk-1.44.1 (diff)
parentChange Poetry to install `--no-root` in Docker (diff)
Merge pull request #174 from python-discord/jb3/python-3.12
Bump to Python 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 bdc24fa..6aecadf 100644
--- a/arthur/exts/fun/devops_rules.py
+++ b/arthur/exts/fun/devops_rules.py
@@ -36,7 +36,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(
@@ -44,7 +44,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://www.notion.so/pythondiscord/Rules-149bc48f6f7947afadd8036f11d4e9a7",