Commit Graph

490 Commits

Author SHA1 Message Date
Aaron Scherer
858af5e8bb Typo 2017-02-04 05:48:48 -08:00
Joe4evr
f80687ef0e Fix ParameterInfo.Type sometimes being null 2017-02-01 04:06:24 +01:00
Joe4evr
ea298875af Actually mark the methods virtual #derp 2017-01-30 03:17:57 +01:00
Joe4evr
c2599977a5 Add BeforeExecute/AfterExecute methods to ModuleBase 2017-01-30 03:14:12 +01: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
deb755dd3d Merge pull request #488 from FiniteReality/issue/487
Replace ConcurrentBag<T> with HashSet<T>
2017-01-26 10:52:12 -04:00
RogueException
34139c9b59 Converted Discord.Net to a metapackage 2017-01-26 10:43:32 -04:00
RogueException
eb2a946dd6 Updated to 1.0.0-rc3 tooling 2017-01-25 22:27:24 -04:00
RogueException
3bc2520095 Abandon VersionSuffix 2017-01-25 20:39:04 -04:00
RogueException
24663605f6 Fixed CI detecting all packages as dev 2017-01-25 20:14:19 -04:00
RogueException
b0db37cad6 Versions are hard 2017-01-25 18:00:00 -04:00
RogueException
3046b62c94 Cleaned up csproj/sln/scripts 2017-01-25 12:41:38 -04:00
RogueException
7c5fe79333 Updated build script 2017-01-24 15:40:41 -04:00
RogueException
fe35400498 Cleanup 2017-01-24 11:42:28 -04:00
RogueException
00bb3c9d70 Removed project.jsons 2017-01-24 11:35:36 -04:00
FiniteReality
0715cb6623 Actually use HashSet<T> to initialize _moduleDefs 2017-01-22 03:08:52 +00:00
FiniteReality
a65ba095af Replace ConcurrentBag<T> with HashSet<T>
Fixes #487
2017-01-17 20:08:18 +00:00
FiniteReality
c2b50b56d8 Ensure aliases are built in the correct order
Fixes #462
2017-01-15 21:19:08 +00:00
RogueException
d06b7856f6 Fixed several package errors 2017-01-02 00:05:45 -04:00
RogueException
e2934abe29 Made API models internal. Removed Discord.Net.API. 2017-01-01 23:28:42 -04:00
RogueException
c9a12cde10 Added default alias when GroupAttribute isn't provided 2016-12-29 20:57:07 -04:00
RogueException
e3da623f39 Cleaned up alias generation 2016-12-28 19:22:57 -04:00
RogueException
032c9e007c Do not add null aliases 2016-12-28 19:22:53 -04:00
RogueException
2c075e186a Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext. 2016-12-23 16:57:30 -04:00
RogueException
1965c0539a Added support for concrete Rest/Socket/RPC classes in command params 2016-12-23 16:57:29 -04:00
RogueException
8326d01f62 Isolated API definitions to their own library 2016-12-23 16:57:29 -04:00
Christopher F
f64de4ab47 Merge pull request #431 from AntiTcb/issues/427
Issues/427 + AliasAttribute targets classes
2016-12-20 02:09:28 -05:00
AntiTcb
5118ed876b Can target classes now. 2016-12-19 17:54:06 -05:00
AntiTcb
bc985ada92 Modules without aliases now default to an empty string alias 2016-12-19 17:53:54 -05:00
Confruggy
d27970113e Update UserTypeReader.cs 2016-12-19 23:20:42 +01:00
RogueException
ae3ada84c4 Renamed ModuleBuilder.AddAlias -> AddAliases 2016-12-18 18:21:24 -04: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
Christopher F
b9b6ac36fe Add docstrings, per volt's feedback 2016-12-16 19:18:27 -05:00
RogueException
18de2ecac7 Merge pull request #412 from FiniteReality/issue/304-v2
Implement configurable command node separators
2016-12-16 15:38:27 -04:00
RogueException
d623b18dff Added AddParameter<T>. Fixed AddParameter ignoring default typereaders. 2016-12-16 10:00:39 -04:00
RogueException
2dd62ba5e7 Set DefaultRunMode to Sync 2016-12-16 09:15:32 -04:00
RogueException
b01200f929 Cleaned up primitive type readers. Fixed TimeSpan reader. 2016-12-16 06:33:21 -04:00
RogueException
8f87b2cc71 Added support for .NET Standard 1.1 and 1.2 2016-12-16 05:52:46 -04:00
Christopher F
7fb032c9d2 Make changes per discussion
Instead of using fields, we will now use properties (that must have a setter).
2016-12-14 17:07:24 -05:00
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.
2016-12-14 16:38:28 -05:00
Christopher F
0f334d24a0 Add Transients/Factories to Dependency Injection 2016-12-14 16:12:02 -05:00
Finite Reality
9aa924f75c Remove blank line 2016-12-11 18:07:30 +00:00
FiniteReality
b4f8b0601f Fix #408
A.K.A. "FiniteReality is a twat"
2016-12-10 19:05:33 +00: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
RogueException
f772956558 Merge branch 'issue/384' of git://github.com/james7132/Discord.Net into james7132-issue/384 2016-12-05 19:00:39 -04:00
Aux
d4d8e721db Resolves #390
Fix case insensitive commands forcing parameters to return lowercase
2016-12-04 17:29:39 -04:00