Finite Reality
6732e256fb
Clean up a little
9 years ago
Finite Reality
5ce609c323
Fix small typo
9 years ago
Finite Reality
c8fc0ffa33
Add support for 'params' arguments
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
Khionu Terabite
846a1746a2
Added `Command.Synopsis` for seperation of short and long descriptions, this being intended for long.
9 years ago
RogueException
15dd6016e7
Fixed several CommandParameter nullrefs
9 years ago
RogueException
02d5fc4a8e
Exposed CommandParameter's Type
9 years ago
RogueException
3077249705
Fixed parsing errors when the first argument is on a new line
9 years ago
RogueException
c5569a44ea
Renamed Unparsed -> Remainder. Fixed non-string remainder parameters.
9 years ago
RogueException
ff017bd51f
Remove string check for unparsed
9 years ago
Finite Reality
2f0881460c
Ignore static constructors when creating types
9 years ago
RogueException
6fe02bf033
Added a few missing primitive parsers
9 years ago
RogueException
4a06753990
Cleaned up TypeReaders
9 years ago
RogueException
f0a6899bc7
Cleaned up WebSocket entities. Renamed CachedXXX -> SocketXXX.
9 years ago
RogueException
e179c85896
Increased LogMessage's default source padding
9 years ago
Khionu Terabite
ae2ef74b14
Variable rename
Changed name to be more context appropriate
9 years ago
RogueException
b029725bb1
Cleaned up new DependencyMap system
9 years ago
RogueException
751c28a87e
Merge pull request #139 from DigiTechs/feature-128
Add Dependency Injection and Autoloading to the Commands service
9 years ago
RogueException
b407c71567
Added support for non-int enums
9 years ago
Finite Reality
b546ba919b
Simplify exception
9 years ago
RogueException
c101c44c04
Merge pull request #140 from RogueException/khio-enumpatch
Enum TypeReader
9 years ago
RogueException
c191f65c63
Fixed Mention prefix detection
9 years ago
Khionu Terabite
523b862525
Added Dynamic Enum TypeParsing, to support all enums
9 years ago
Finite Reality
39d8e3c159
Allow users to get IDependencyMap if they follow a strict format
9 years ago
RogueException
77589cc758
Fixed Discord.Net.Commands warning
9 years ago
Finite Reality
f7455c389b
Improve DI system
9 years ago
Christopher F
e266fa8b32
Cleaned up bugs in DependencyMap and ReflectionUtils
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
Khionu Terabite
63fdd67413
Initial Plan for allowing custom Enum Type Readers
9 years ago
RogueException
a9bfa958dc
Reference Discord.Net with a wildcard version
9 years ago
RogueException
e2f15c96cd
Added template version for dotnet pack --version-suffic
9 years ago
RogueException
53e1c79848
Cleaned up mention logic, removed User.NicknameMention
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
0eb869211c
Fixed escapes for unparsed parameters
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
5c5a9c8d6f
Fixed User TypeReader not resolving in DMs
9 years ago
RogueException
63fbdb394b
Ensure Task return type for commands
9 years ago
RogueException
7bb890cbfe
Added command groups, fixed several bugs
9 years ago
RogueException
602ac134e5
Added Prefix check extensions to IMessage
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
bfea0ef0a2
Added ordered user mentions, fixed role and channel mention resolving
9 years ago
RogueException
21102e460c
Fixed null char being appended to unparsed args
9 years ago