Allow sending the file in follow-up message in ACL upload commands #5473

Closed
opened 2021-12-19 18:57:45 +01:00 by Jackenmen · 4 comments
Jackenmen commented 2021-12-19 18:57:45 +01:00 (Migrated from github.com)

What component of Red (cog, command, API) would you like to see improvements on?

ACL upload commands in Permissions cog

Describe the enhancement you're suggesting.

The current error message in ACL upload commands ("You must upload a file.") is not very clear about having to run the command file again with the file being attached.

I suggest that rather than improve the error message, we improve the user experience by allowing to send the ACL file in a follow-up message, similarly to how [p]playlist upload and [p]triviaset custom upload work.

Anything else?

[p]set avatar (and perhaps some other commands?) is another example that doesn't allow sending the file in a follow-up message so it might be worth changing that as well.

### What component of Red (cog, command, API) would you like to see improvements on? ACL upload commands in Permissions cog ### Describe the enhancement you're suggesting. The current error message in ACL upload commands ("You must upload a file.") is not very clear about having to run the command file again with the file being attached. I suggest that rather than improve the error message, we improve the user experience by allowing to send the ACL file in a follow-up message, similarly to how `[p]playlist upload` and `[p]triviaset custom upload` work. ### Anything else? `[p]set avatar` (and perhaps some other commands?) is another example that doesn't allow sending the file in a follow-up message so it might be worth changing that as well.
Stonedestroyer commented 2021-12-19 19:00:13 +01:00 (Migrated from github.com)

I believe trivia custom upload also should be updated to reflect what changes we go with.

I believe trivia custom upload also should be updated to reflect what changes we go with.
Jackenmen commented 2021-12-19 19:02:21 +01:00 (Migrated from github.com)

@Stonedestroyer, it already supports both uploading in the command message and follow-up message so it's a good user experience which I don't think we should change. But I guess that also tells me which option we should go for [p]permissions acl - we should allow sending the file in a follow-up message and probably do the same for [p]set avatar as well?

@Stonedestroyer, it already supports both uploading in the command message and follow-up message so it's a good user experience which I don't think we should change. But I guess that also tells me which option we should go for `[p]permissions acl` - we should allow sending the file in a follow-up message and probably do the same for `[p]set avatar` as well?
Stonedestroyer commented 2021-12-19 19:06:58 +01:00 (Migrated from github.com)

Oh in thar case I think allowing both may be better UX, though not sure what behavior we should have if user say let's try upload an image, do we ask in followup to upload proper permission file or cancel? But yeah we should probably adopt trivia's way then of asking if not submitted again and if submitted parse it, it will make it more fluid for user.

I think the main point then is finding all commands thar we can do it at, but if making new core commands maybe some guidelines how approach these commands can be useful in a document or added to Contributing

Oh in thar case I think allowing both may be better UX, though not sure what behavior we should have if user say let's try upload an image, do we ask in followup to upload proper permission file or cancel? But yeah we should probably adopt trivia's way then of asking if not submitted again and if submitted parse it, it will make it more fluid for user. I think the main point then is finding all commands thar we can do it at, but if making new core commands maybe some guidelines how approach these commands can be useful in a document or added to Contributing
Jevon64 commented 2022-03-25 00:12:30 +01:00 (Migrated from github.com)

I'll be looking into implementing this feature with @matcha19. Please let me know if you would like anything else to be considered! :)

I'll be looking into implementing this feature with @matcha19. Please let me know if you would like anything else to be considered! :)
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#5473
No description provided.