SetParser converter ([p]bank set command) should have meaningful error message #4789

Closed
opened 2021-02-06 03:19:09 +01:00 by Jackenmen · 6 comments
Jackenmen commented 2021-02-06 03:19:09 +01:00 (Migrated from github.com)

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

[p]bank set command

Describe the enhancement you're suggesting.

Currently using invalid input with [p]bank set gives an error that doesn't tell you what's wrong:
image

We should add some meaningful error messages to the converter used there.

**What component of Red (cog, command, API) would you like to see improvements on?** `[p]bank set` command **Describe the enhancement you're suggesting.** Currently using invalid input with `[p]bank set` gives an error that doesn't tell you what's wrong: ![image](https://user-images.githubusercontent.com/6032823/107106044-e7647380-6829-11eb-8590-41a8f665e7dc.png) We should add some meaningful error messages to the converter used there.
rijusougata13 commented 2021-02-07 22:15:07 +01:00 (Migrated from github.com)

can you assign me ? i want to work on this.

can you assign me ? i want to work on this.
Jackenmen commented 2021-02-08 00:36:56 +01:00 (Migrated from github.com)

@rijusougata13 done. If you need any more guidance on this, feel free to ask in here or on our discord server.

And just in case you change your mind about working on this, just let us know and someone will unassign you.

@rijusougata13 done. If you need any more guidance on this, feel free to ask in here or on [our discord server](https://discord.gg/red). And just in case you change your mind about working on this, just let us know and someone will unassign you.
rijusougata13 commented 2021-02-08 07:34:56 +01:00 (Migrated from github.com)

yeah sure if change my mind i will let you know..

yeah sure if change my mind i will let you know..
rijusougata13 commented 2021-02-08 09:11:39 +01:00 (Migrated from github.com)

@jack1142 hey i was trying to make changes in some files .But it seems it has no effect on that bot..can you guide me how to update the bot after i make any changes..

@jack1142 hey i was trying to make changes in some files .But it seems it has no effect on that bot..can you guide me how to update the bot after i make any changes..
NeuroAssassin commented 2021-02-08 12:20:40 +01:00 (Migrated from github.com)

I would recommend taking a look at our CONTRIBUTING.md for steps on how to set up the bot in a developer environment (https://github.com/Cog-Creators/Red-DiscordBot/blob/V3/develop/CONTRIBUTING.md). If you have any other questions, feel free to join the discord server Jack linked above, which will allow us to help you a bit more easily in a back-and-forth context.

I would recommend taking a look at our CONTRIBUTING.md for steps on how to set up the bot in a developer environment (https://github.com/Cog-Creators/Red-DiscordBot/blob/V3/develop/CONTRIBUTING.md). If you have any other questions, feel free to join the discord server Jack linked above, which will allow us to help you a bit more easily in a back-and-forth context.
rijusougata13 commented 2021-02-10 14:58:58 +01:00 (Migrated from github.com)

Screenshot from 2021-02-10 19-25-19

it will give a meaningfull error message to user if argument is not valid. @NeuroAssassin @jack1142 please take a look if it is correct or not .

![Screenshot from 2021-02-10 19-25-19](https://user-images.githubusercontent.com/52108435/107519352-30c01480-6bd6-11eb-8446-c100f99b6da4.png) it will give a meaningfull error message to user if argument is not valid. @NeuroAssassin @jack1142 please take a look if it is correct or not .
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#4789
No description provided.