aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-02-04 22:15:38 +0000
committerGravatar Chris Lovering <[email protected]>2024-02-04 22:15:38 +0000
commit105e80156a7e827361868dc02419937817f1d1c5 (patch)
tree38a30fc2150b782d1b4d2276f8d1116dc9da5656
parentOnly run deops rules command group if no sub command could be found (diff)
Give feedback to invoker when devops rules are successfully re-fetched
-rw-r--r--arthur/exts/fun/devops_rules.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/arthur/exts/fun/devops_rules.py b/arthur/exts/fun/devops_rules.py
index 26e1b6b..bdc24fa 100644
--- a/arthur/exts/fun/devops_rules.py
+++ b/arthur/exts/fun/devops_rules.py
@@ -52,9 +52,10 @@ class Rules(Cog):
)
@rules_group.command(name="refresh", aliases=("fetch", "update"))
- async def update_rules(self, _: Context) -> None:
+ async def update_rules(self, ctx: Context) -> None:
"""Re-fetch the list of rules from notion."""
await self.cog_load()
+ await ctx.reply(":+1:")
async def setup(bot: KingArthur) -> None: