New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to invoke a command specifying optional values by name #1123
Conversation
Just had another thought, should we make it such that at least one property needs to be specified in order to make the typeread succeed by default? I'm thinking we could allow modifying that behavior by whether the parameter itself has a default value ( |
namespace Discord.Commands | ||
{ | ||
/// <summary> | ||
/// Instructs the command system to treat command paramters of this type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Instructs the command system to treat command paramters of this type | |
/// Instructs the command system to treat command parameters of this type |
@@ -3,6 +3,7 @@ | |||
<OutputType>Exe</OutputType> | |||
<RootNamespace>Discord</RootNamespace> | |||
<TargetFramework>netcoreapp1.1</TargetFramework> | |||
<DebugType>portable</DebugType> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be here?
Requires:
IsRemainder
for that parameter):
); arguments need to be either a single word or wrapped in quotesIEnumerable<T>
property; user's input needs to be comma-separated