RogueException
a6469e9021
Add support for void-returning commands
8 years ago
RogueException
3fb21e06c2
Fixed RunMode.Sync running Async. Added ThrowOnError option.
8 years ago
RogueException
ba07484fe9
Removed Mixed RunMode
8 years ago
RogueException
a2b12520b2
Added CommandService logging
8 years ago
Finite Reality
2160e5dac8
Improve parameter precondition type safety ( #532 )
* Improve parameter precondition type safety
Also removes some terrible code which was left over when I first
implemented parameter preconditions. I don't know why that was there.
With this commit, parameter preconditions should be much safer as they
use generic methods instead of janky casting of objects.
* Remove generic CheckPreconditions method
8 years ago
RogueException
2c075e186a
Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext.
9 years ago
RogueException
c1a9bdc142
Cleaned up alias permutations, fixed empty aliases
9 years ago
RogueException
5663e47db6
Added command separator char, improved passing search results to parser
9 years ago
RogueException
0d209b3fdb
Added internal error for if a matching alias cannot be found
9 years ago
Christopher F
604d69fb7f
Revert "Implement configurable command node separators"
9 years ago
FiniteReality
70d30efb94
Implement configurable command node separators
This fixes #304 over foxbot's PR for the same issue.
9 years ago
FiniteReality
704b2b75f4
Fix changes after review
9 years ago
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
9 years ago
Christopher F
d72122eef9
Resolve conflicts.
9 years ago
Christopher F
ecc3d9c729
Add configuration option for case insensitive commands
Currently, commands are case-sensitive. This PR allows for commands to be case insensitive (which is now the default option).
9 years ago
Christopher F
55f6efd080
Merge branch 'issue/365'
Conflicts:
src/Discord.Net.Commands/CommandService.cs
9 years ago
Christopher F
fb99b019a0
Fix issues with DefaultRunMode
For a command to use the DefaultRunMode, it must now have it's RunMode set to RunMode.Default (this is the default value on CommandAttribute now).
9 years ago
Christopher F
f9c5e229d0
Add CommandServiceConfig, DefaultRunMode
This adds an (optional) CommandServiceConfig, as well as a DefaultRunMode for commands.
This resolves #368 (for commands where a RunMode is not explicitly specified, a custom default value should be used)
9 years ago
FiniteReality
05fb81c617
Fix a bunch of issues with aliases
9 years ago
FiniteReality
fd5e237b41
Fix commands from being created with invalid aliases
9 years ago
RogueException
593ba46f1c
Cleaned up command builders and async func names
9 years ago
FiniteReality
de645548a9
Complete command builders implementation
In theory this should just work, more testing is needed though
9 years ago
FiniteReality
6d46347ebc
Finish implementation of command builders
9 years ago
FiniteReality
af433c82cc
Complete builders, start work on using them
9 years ago