Christopher F
40ede62e4d
Remove Auto-Injection
this should be handled by #520
8 years ago
Christopher F
b9b6ac36fe
Add docstrings, per volt's feedback
8 years ago
Christopher F
7fb032c9d2
Make changes per discussion
Instead of using fields, we will now use properties (that must have a setter).
8 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.
8 years ago
Christopher F
0f334d24a0
Add Transients/Factories to Dependency Injection
8 years ago
RogueException
a1addd4016
Merge pull request #411 from FiniteReality/issue/408
Allow commands to use added type readers
8 years ago
FiniteReality
b4f8b0601f
Fix #408
A.K.A. "FiniteReality is a twat"
8 years ago
RogueException
803b65212e
Merge pull request #364 from FiniteReality/feature/parameter-tweaks
Parameter preconditions and typereader overriding
8 years ago
RogueException
71cd6e471b
Merge branch 'james7132-issue/384' into dev
8 years ago
RogueException
f772956558
Merge branch 'issue/384' of git://github.com/james7132/Discord.Net into james7132-issue/384
8 years ago
RogueException
c83e693988
Removed duplicate logic
8 years ago
RogueException
392813998f
Merge branch 'issues/274' into dev
8 years ago
RogueException
e369f342fc
Merge branch 'dev' into issues/274
8 years ago
RogueException
32e5ce4488
Merge branch 'issues/302' into dev
8 years ago
RogueException
5b545f8644
Merge branch 'dev' into issues/302
8 years ago
RogueException
5e965ea325
Allow tokenless RPC connections
8 years ago
Christopher F
ec71b84720
Add config option to download all users on GuildAvailable
Resolves #302
8 years ago
RogueException
08cfc1dd7f
Reconnect if heartbeat fails and a user download was not requested
8 years ago
Aux
d4d8e721db
Resolves #390
Fix case insensitive commands forcing parameters to return lowercase
8 years ago
Christopher F
8db026c0fe
Make changes per feedback, remove invocations of GuildMemberUpdated
Nickname changes/role changes are no longer sent over PRESENCE_UPDATE, making it obsolete to check for changes there.
8 years ago
Christopher F
a967ca1ec0
[docs] Merge pull request #398 from Esscoder/patch-3
Fixed async method
8 years ago
Evan Sours
cdb723bbeb
Fixed async method
CheckPermissions was not set to async so await would not work.
8 years ago
Christopher F
106ff4df5d
[docs] Merge pull request #397 from Esscoder/patch-2
Fixed Install -> commands.LoadAssembly
8 years ago
Evan Sours
0e43d6c6f5
Fixed Install -> commands.LoadAssembly
await commands.LoadAssembly(Assembly.GetCurrentAssembly(), map);
->
await commands.AddModulesAsync(Assembly.GetEntryAssembly());
8 years ago
Christopher F
1402c9558f
[docs] Merge pull request #396 from Esscoder/patch-1
Fixed HandleCommand Error message
8 years ago
Evan Sours
dd9ae6e870
Fixed HandleCommand Error message
if (!result.IsSuccess)
await msg.Channel.SendMessageAsync(result.ErrorReason);
}
msg -> context
8 years ago
Christopher F
deafa3d755
save your work before committing
*facepalm*
8 years ago
Christopher F
c80f73764c
Properly implement UserUpdated for Username or Avatar Changes
8 years ago
Christopher F
1e55d30a65
Raise GuildMemberUpdated when a Nickname is modified
8 years ago
FiniteReality
704b2b75f4
Fix changes after review
8 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.
8 years ago
FiniteReality
d2d7b4dce7
Make `_typeReaderTypeInfo` static
Seems I missed this originally, whoops.
8 years ago
FiniteReality
156483bf71
Rename `overridenType` to `overridenTypeReader`
The previous name was causing some confusion
8 years ago
FiniteReality
f11f416024
Add IDependencyMap to parameter preconditions
8 years ago
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
8 years ago
Christopher F
d8c0f0aa4c
[docs] fix xrefs
8 years ago
Christopher F
779aaffbf4
[docs] rewrite commands, update samples
8 years ago
Christopher F
2cae0bda79
Merge pull request #393 from Nikey646/patch-1
EmbedBuilder.WithImageUrl() now uses the value passed
8 years ago
Nikey646
11f507e26a
EmbedBuilder.WithImageUrl() now uses the value passed
8 years ago
james7132
2c768c413a
Revert CommandService.Modules change
8 years ago
james7132
790ca10d17
Fix accidental line join
8 years ago
james7132
4896524d1a
Limit CommandService.Modules to top level modules
8 years ago
james7132
6865318071
Fix IsSubmodule property's correctness
8 years ago
james7132
0771fcce63
Add Parent property to ModuleInfo
8 years ago
RogueException
aceac76d1d
Merge pull request #387 from james7132/timespan-reader
Add TimeSpan TypeReader
8 years ago
james7132
3e35666186
Add TimeSpan TypeReader
8 years ago
RogueException
08ae9e4e86
Fixed logic in precondition attribute docstrings
8 years ago
RogueException
2a33bb0c12
Escaped amp in XML example.
8 years ago
RogueException
f56a1b653d
Cleaned up Reactions PR
8 years ago
RogueException
2e1ec5803b
Added AddReactions to Permission constructors
8 years ago