Skip to content

Commit

Permalink
Set autodefer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
novanai committed Nov 18, 2024
1 parent 9507f3a commit 784bac2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/extensions/action_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
@arc.with_hook(restrict_to_channels(channel_ids=[CHANNEL_IDS["action-items"]]))
@arc.with_hook(restrict_to_roles(role_ids=[ROLE_IDS["committee"]]))
@arc.slash_command(
"action_items", "Display the action items from the MD", is_dm_enabled=False
"action_items",
"Display the action items from the MD",
is_dm_enabled=False,
autodefer=arc.AutodeferMode.EPHEMERAL,
)
async def get_action_items(
ctx: arc.GatewayContext,
Expand Down

0 comments on commit 784bac2

Please sign in to comment.