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
55e9c7da5c
Merge pull request #482 from FiniteReality/issue/462
Ensure aliases are built in the correct order
9 years ago
RogueException
fe35400498
Cleanup
9 years ago
FiniteReality
c2b50b56d8
Ensure aliases are built in the correct order
Fixes #462
9 years ago
RogueException
e3da623f39
Cleaned up alias generation
9 years ago
RogueException
2c075e186a
Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext.
9 years ago
AntiTcb
bc985ada92
Modules without aliases now default to an empty string alias
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
RogueException
803b65212e
Merge pull request #364 from FiniteReality/feature/parameter-tweaks
Parameter preconditions and typereader overriding
9 years ago
FiniteReality
704b2b75f4
Fix changes after review
9 years ago
FiniteReality
f11f416024
Add IDependencyMap to parameter preconditions
9 years ago
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
9 years ago
james7132
6865318071
Fix IsSubmodule property's correctness
9 years ago
james7132
0771fcce63
Add Parent property to ModuleInfo
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
bc76e38ce5
Fix additional issue with aliases building incorrectly
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