aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/fun/devops_rules.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-09 17:21:49 +0000
committerGravatar Chris Lovering <[email protected]>2023-11-09 17:21:49 +0000
commitaafb66cd3d32919107943b8f47905e4d5e7c01dd (patch)
tree17724963998d669ce6c88747332c16857d1193a3 /arthur/exts/fun/devops_rules.py
parentBump deps to latest (diff)
Enable unsafe fixes and preview 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 cbfb6ce..fa0e1c4 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",