RogueException
a6469e9021
Add support for void-returning commands
2017-04-07 05:48:33 -03:00
RogueException
3fb21e06c2
Fixed RunMode.Sync running Async. Added ThrowOnError option.
2017-03-18 21:38:28 -03:00
RogueException
ba07484fe9
Removed Mixed RunMode
2017-03-18 12:23:51 -03:00
RogueException
a2b12520b2
Added CommandService logging
2017-03-18 12:14:14 -03:00
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
2017-03-18 09:55:53 -03:00
RogueException
55e9c7da5c
Merge pull request #482 from FiniteReality/issue/462
...
Ensure aliases are built in the correct order
2017-01-26 10:57:46 -04:00
RogueException
fe35400498
Cleanup
2017-01-24 11:42:28 -04:00
FiniteReality
c2b50b56d8
Ensure aliases are built in the correct order
...
Fixes #462
2017-01-15 21:19:08 +00:00
RogueException
e3da623f39
Cleaned up alias generation
2016-12-28 19:22:57 -04:00
RogueException
2c075e186a
Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext.
2016-12-23 16:57:30 -04:00
AntiTcb
bc985ada92
Modules without aliases now default to an empty string alias
2016-12-19 17:53:54 -05:00
RogueException
c1a9bdc142
Cleaned up alias permutations, fixed empty aliases
2016-12-18 18:14:39 -04:00
RogueException
5663e47db6
Added command separator char, improved passing search results to parser
2016-12-18 17:48:33 -04:00
RogueException
0d209b3fdb
Added internal error for if a matching alias cannot be found
2016-12-18 14:18:33 -04:00
Christopher F
604d69fb7f
Revert "Implement configurable command node separators"
2016-12-17 16:34:04 -05:00
FiniteReality
70d30efb94
Implement configurable command node separators
...
This fixes #304 over foxbot's PR for the same issue.
2016-12-09 10:31:57 +00:00
RogueException
803b65212e
Merge pull request #364 from FiniteReality/feature/parameter-tweaks
...
Parameter preconditions and typereader overriding
2016-12-07 21:39:55 -04:00
FiniteReality
704b2b75f4
Fix changes after review
2016-12-03 23:51:20 +00:00
FiniteReality
f11f416024
Add IDependencyMap to parameter preconditions
2016-12-03 23:49:05 +00:00
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
2016-12-03 23:49:05 +00:00
james7132
6865318071
Fix IsSubmodule property's correctness
2016-11-28 20:40:44 -08:00
james7132
0771fcce63
Add Parent property to ModuleInfo
2016-11-28 20:40:44 -08:00
Christopher F
d72122eef9
Resolve conflicts.
2016-11-26 23:15:36 -05:00
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).
2016-11-26 23:12:23 -05:00
Christopher F
55f6efd080
Merge branch 'issue/365'
...
Conflicts:
src/Discord.Net.Commands/CommandService.cs
2016-11-26 22:26:47 -05:00
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).
2016-11-26 22:04:02 -05:00
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)
2016-11-25 18:49:35 -05:00
FiniteReality
bc76e38ce5
Fix additional issue with aliases building incorrectly
2016-11-25 21:15:39 +00:00
FiniteReality
05fb81c617
Fix a bunch of issues with aliases
2016-11-20 20:20:23 +00:00
FiniteReality
fd5e237b41
Fix commands from being created with invalid aliases
2016-11-20 13:55:55 +00:00
RogueException
593ba46f1c
Cleaned up command builders and async func names
2016-11-18 08:18:00 -04:00
FiniteReality
de645548a9
Complete command builders implementation
...
In theory this should just work, more testing is needed though
2016-11-18 09:14:19 +00:00
FiniteReality
6d46347ebc
Finish implementation of command builders
2016-11-16 21:01:11 +00:00
FiniteReality
af433c82cc
Complete builders, start work on using them
2016-11-15 21:28:04 +00:00