Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/extensions/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ async def minio_prefix_exists(bucket_name: str, prefix: str) -> bool:

@minio.include
@arc.with_hook(restrict_to_roles(role_ids=[ROLE_IDS["committee"]]))
@arc.slash_command("upload", "Upload a file to the storage server.")
@arc.slash_command(
"upload",
"Upload a file to the storage server.",
autodefer=arc.AutodeferMode.EPHEMERAL,
)
async def upload_command(
ctx: BlockbotContext,
bucket_name: arc.Option[
Expand Down
Loading