Skip to content

Commit

Permalink
Give feedback to invoker when devops rules are successfully re-fetched
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Feb 4, 2024
1 parent 177f92e commit 105e801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arthur/exts/fun/devops_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ async def rules_group(self, ctx: Context, rules: Greedy[int]) -> None:
)

@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:
Expand Down

0 comments on commit 105e801

Please sign in to comment.