RogueException
3046b62c94
Cleaned up csproj/sln/scripts
9 years ago
RogueException
7c5fe79333
Updated build script
9 years ago
RogueException
fe35400498
Cleanup
9 years ago
RogueException
00bb3c9d70
Removed project.jsons
9 years ago
FiniteReality
0715cb6623
Actually use HashSet<T> to initialize _moduleDefs
9 years ago
FiniteReality
a65ba095af
Replace ConcurrentBag<T> with HashSet<T>
Fixes #487
9 years ago
FiniteReality
c2b50b56d8
Ensure aliases are built in the correct order
Fixes #462
9 years ago
RogueException
d06b7856f6
Fixed several package errors
9 years ago
RogueException
e2934abe29
Made API models internal. Removed Discord.Net.API.
9 years ago
RogueException
c9a12cde10
Added default alias when GroupAttribute isn't provided
9 years ago
RogueException
e3da623f39
Cleaned up alias generation
9 years ago
RogueException
032c9e007c
Do not add null aliases
9 years ago
RogueException
2c075e186a
Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext.
9 years ago
RogueException
1965c0539a
Added support for concrete Rest/Socket/RPC classes in command params
9 years ago
RogueException
8326d01f62
Isolated API definitions to their own library
9 years ago
Christopher F
f64de4ab47
Merge pull request #431 from AntiTcb/issues/427
Issues/427 + AliasAttribute targets classes
9 years ago
AntiTcb
5118ed876b
Can target classes now.
9 years ago
AntiTcb
bc985ada92
Modules without aliases now default to an empty string alias
9 years ago
Confruggy
d27970113e
Update UserTypeReader.cs
9 years ago
RogueException
ae3ada84c4
Renamed ModuleBuilder.AddAlias -> AddAliases
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
Christopher F
b9b6ac36fe
Add docstrings, per volt's feedback
9 years ago
RogueException
18de2ecac7
Merge pull request #412 from FiniteReality/issue/304-v2
Implement configurable command node separators
9 years ago
RogueException
d623b18dff
Added AddParameter<T>. Fixed AddParameter ignoring default typereaders.
9 years ago
RogueException
2dd62ba5e7
Set DefaultRunMode to Sync
9 years ago
RogueException
b01200f929
Cleaned up primitive type readers. Fixed TimeSpan reader.
9 years ago
RogueException
8f87b2cc71
Added support for .NET Standard 1.1 and 1.2
9 years ago
Christopher F
7fb032c9d2
Make changes per discussion
Instead of using fields, we will now use properties (that must have a setter).
9 years ago
Christopher F
b33df6ad77
Add InjectAttribute, inject into fields flagged with it from DepMap
This allows users to flag a field with InjectAttribute, and when the module is created at runtime, this field will be filled in with the object from the dependency map.
9 years ago
Christopher F
0f334d24a0
Add Transients/Factories to Dependency Injection
9 years ago
Finite Reality
9aa924f75c
Remove blank line
9 years ago
FiniteReality
b4f8b0601f
Fix #408
A.K.A. "FiniteReality is a twat"
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
RogueException
f772956558
Merge branch 'issue/384' of git://github.com/james7132/Discord.Net into james7132-issue/384
9 years ago
Aux
d4d8e721db
Resolves #390
Fix case insensitive commands forcing parameters to return lowercase
9 years ago
FiniteReality
704b2b75f4
Fix changes after review
9 years ago
FiniteReality
254e874c99
Fix OverrideTypeReader
This commit also adds a TypeReaders property to CommandService, so
it is possible to see all of the registered TypeReaders. This makes
it possible for users to implement their own parsing instead of
using the built-in parsing.
9 years ago
FiniteReality
d2d7b4dce7
Make `_typeReaderTypeInfo` static
Seems I missed this originally, whoops.
9 years ago
FiniteReality
156483bf71
Rename `overridenType` to `overridenTypeReader`
The previous name was causing some confusion
9 years ago
FiniteReality
f11f416024
Add IDependencyMap to parameter preconditions
9 years ago
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
9 years ago
james7132
2c768c413a
Revert CommandService.Modules change
9 years ago
james7132
790ca10d17
Fix accidental line join
9 years ago
james7132
4896524d1a
Limit CommandService.Modules to top level modules
9 years ago
james7132
6865318071
Fix IsSubmodule property's correctness
9 years ago
james7132
0771fcce63
Add Parent property to ModuleInfo
9 years ago