Special case new RLL message (RLL 0.5.1 bump inside) #3868

Merged
Drapersniper merged 2 commits from fix-1 into V3/develop 2020-05-28 23:33:44 +02:00
Drapersniper commented 2020-05-26 10:38:37 +02:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

### Type - [x] Bugfix - [ ] Enhancement - [ ] New feature ### Description of the changes
Twentysix26 (Migrated from github.com) reviewed 2020-05-26 10:38:37 +02:00
Jackenmen (Migrated from github.com) reviewed 2020-05-26 21:24:48 +02:00
Jackenmen (Migrated from github.com) left a comment
No description provided.
Works great with https://github.com/Cog-Creators/Red-Lavalink/pull/78 I wonder if it wouldn't be good to set an embed description to something like "Something went wrong when fetching track" or whatever as all (or most) other errors in Audio have a concise friendly error and I wouldn't really say this is a concise or friendly error: ![image](https://user-images.githubusercontent.com/6032823/82941560-da06a200-9f96-11ea-9dc1-146853fb3f0c.png) Example of what it could look like with additional one-liner: ![image](https://user-images.githubusercontent.com/6032823/82941720-26ea7880-9f97-11ea-99e3-06ed749c2739.png) I don't think this the most important thing so I'm approving this PR anyway, but I think the addition I mentioned is worth considering.
Drapersniper commented 2020-05-26 21:27:04 +02:00 (Migrated from github.com)

it wouldnt follow the format set by audio for all of its error messages.

this is something to consider for the rewrite though... other things can be in the description field

it wouldnt follow the format set by audio for all of its error messages. this is something to consider for the rewrite though... other things can be in the description field
Jackenmen commented 2020-05-26 21:35:58 +02:00 (Migrated from github.com)

I guess what I mean is that the error in footer is quite verbose and "Nothing found." text while simple, doesn't really explain that much about it and isn't exactly correct either. This isn't a most typical error so I just went with something generic but I guess even the error "Service Unavailable" sent after "Message: " could work somewhat better than "Nothing found."
I'm not convinced about either of these so approving status quo is better than leaving the error like this 😄:
image

I guess what I mean is that the error in footer is quite verbose and "Nothing found." text while simple, doesn't really explain *that* much about it and isn't exactly correct either. This isn't a most typical error so I just went with something generic but I guess even the error "Service Unavailable" sent after "Message: " could work *somewhat* better than "Nothing found." I'm not convinced about either of these so approving status quo is better than leaving the error like this 😄: ![image](https://user-images.githubusercontent.com/6032823/82942799-d70cb100-9f98-11ea-9fbf-1b7fed3e5d10.png)
Drapersniper commented 2020-05-26 21:36:32 +02:00 (Migrated from github.com)

To expand on it the other exceptions, are exceptions provided by the jar, this is the one of new that arent, so the handling of it is iffy at best... (all other exceptions provided by the jar are handled in the footer, so further special casing this imo would:

  1. Overly complicate the code
  2. Add something that will be removed shortly.
  3. Break from current pattern

Although like you mentioned ... adding it does make it clearer to the user so i'll leave aika to make the final call on this.

To expand on it the other exceptions, are exceptions provided by the jar, this is the one of new that arent, so the handling of it is iffy at best... (all other exceptions provided by the jar are handled in the footer, so further special casing this imo would: 1. Overly complicate the code 2. Add something that will be removed shortly. 3. Break from current pattern Although like you mentioned ... adding it does make it clearer to the user so i'll leave aika to make the final call on this.
aikaterna commented 2020-05-28 22:01:26 +02:00 (Migrated from github.com)

After a discussion in Discord I agree about adding the clarification that Jack asked for, but my opinion is that it should be done in a subsequent PR as it's not something simple to tack onto this one in a quick manner. I agree with this PR and will be approving it but we should refer back to this later on the audio todo list.

After a discussion in Discord I agree about adding the clarification that Jack asked for, but my opinion is that it should be done in a subsequent PR as it's not something simple to tack onto this one in a quick manner. I agree with this PR and will be approving it but we should refer back to this later on the audio todo list.
aikaterna (Migrated from github.com) reviewed 2020-05-28 22:01:45 +02:00
Jackenmen (Migrated from github.com) approved these changes 2020-05-28 22:11:26 +02:00
Jackenmen (Migrated from github.com) left a comment

Bumped RLL version to 0.5.1, reapproving.

Will need to rerun checks when RLL 0.5.1 is released.

Bumped RLL version to 0.5.1, reapproving. Will need to rerun checks when RLL 0.5.1 is released.
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!3868
No description provided.