FiniteReality
de645548a9
Complete command builders implementation
In theory this should just work, more testing is needed though
8 years ago
FiniteReality
6d46347ebc
Finish implementation of command builders
8 years ago
RogueException
b8102a6767
Default DependencyMap to an empty map when not supplied
8 years ago
FiniteReality
a7cefbcf9f
Move DI stuff around to support scoped DI
8 years ago
james7132
3841eb616c
Fix #311
TypeInfo.BaseType will likely return the same Type if all modules derive from
ModuleBase or some common subclass of it. Making it appear as if only one module
is registered.
Changed to TypeInfo.AsType for expected behavior.
8 years ago
RogueException
8c8ac47887
Merge pull request #308 from Joe4evr/AutoLoadFix
Exclude abstract types from being loaded as modules.
8 years ago
RogueException
8ebc437674
Exposed IDependencyMap in CommandService.Execute
8 years ago
Joe4evr
bc45c0b6a4
Exclude abstract types from being loaded as modules.
8 years ago
RogueException
635819b89f
Reduced command module lifetime to a single command execution. Removed ModuleAttribute.
8 years ago
RogueException
5c33e28757
Added missing ConfigureAwaits
8 years ago
RogueException
98475302af
Added bool/char typereaders
8 years ago
RogueException
3c3e790edd
Replaced several arrays with immutables
8 years ago
RogueException
708f9fe514
Added CommandContext, fixed commands compile errors
8 years ago
FiniteReality
accb3e27b8
Add PriorityAttribute and sortby priority in Search
8 years ago
RogueException
23a0316252
Split IMessage into IUserMessage and ISystemMessage
8 years ago
RogueException
f6d8659a2e
Removed ParamList null checks
8 years ago
RogueException
324664917d
Added new parameter scoring, support multiple matches
8 years ago
FiniteReality
610a3a26ab
Add DI support to command Groups
8 years ago
RogueException
0b25554c31
Unknown overload should return UnknownCommand instead of ParseFailed
8 years ago
RogueException
94d6acc00e
Exposed reflection classes on commands, modules and parameters
8 years ago
RogueException
e452aa9662
Cleaned up Command Result structs
8 years ago
Finite Reality
0e920da21f
Complete Preconditions implementation
8 years ago
Finite Reality
a5393dc937
Rename Permission to Precondition
8 years ago
Finite Reality
023703c996
Add logic to CommandService.Execute to handle basic permissions checks
8 years ago
Christopher F
4c200c94ec
Key the ModuleMap based on Type rather than instance
9 years ago
Christopher F
9348e087b0
Don't load modules that are already loaded
Previously, if a user autoloaded commands more than once, commands that were already in the command map would be readded.
If the module list already contains a module with the same type as the module being loaded, it will not load the new instance of this module.
9 years ago
RogueException
4a06753990
Cleaned up TypeReaders
9 years ago
Finite Reality
f7455c389b
Improve DI system
9 years ago
Christopher F
bbe51012cf
Add Dependency Map, Update Assembly Crawler
[Untested] Assembly Crawler will now accept constructors matching: new(), new(CommandService), new(IDependencyMap).
Add IDependencyMap
Add DependencyMap
9 years ago
Christopher F
6e42acba68
Add Autoload to Module Attribute
[UNTESTED] Adds an optional parameter to the Module attribute, "autoload", which defaults to true.
Specifies whether or not the assembly crawler should load this module.
9 years ago
RogueException
da2002b520
Renamed Message.Text -> Message.Content
9 years ago
RogueException
efc87ef06d
Removed IMessage.Text, renamed RawText -> Text, added Resolve
9 years ago
RogueException
079d9d487d
Forwarded the parse error if a command search has only one match
9 years ago
Khionu Terabite
3ad3912606
We all do it now and then <3
9 years ago
RogueException
7723130713
Implemented new CommandMap
9 years ago
RogueException
37ab13160b
Fixed CommandService.Execute crash bug
9 years ago
RogueException
7bb890cbfe
Added command groups, fixed several bugs
9 years ago
RogueException
f6c31a0b19
Added argPos overloadeds to CommandService's Search and Execute
9 years ago
RogueException
0e710cc76a
Added a shorthand CommandService.Execute method
9 years ago
RogueException
eb7ec637a5
Cleaned up several CommandService functions
9 years ago
RogueException
5ac320312d
Added CommandService.Unload(Module) overload
9 years ago
RogueException
f59b6b9004
Implemented command type readers, parser and service.
9 years ago
RogueException
32ab967f4a
Reorganized commands structure
9 years ago
RogueException
5bdd6a7ff3
Early 1.0 REST Preview
9 years ago
RogueException
27d7e9915b
Initial 1.0-alpha1 design changes
9 years ago
RogueException
173df19439
Fixed crash with short mention activation strings
9 years ago
RogueException
196c6ac698
Fixed crash if prefix mention is checked in PM
9 years ago
RogueException
cb4d00ac4e
Split config into builder and immutable classes, added some audioservice extension methods.
9 years ago
RogueException
ef95539e2e
Cleaned up the help command's footer
9 years ago
RogueException
88776c94d1
Fixed a couple substring bugs in commandservice
9 years ago