Commit Graph

2239 Commits

Author SHA1 Message Date
Christopher F
64681856b1 Create wrapper modify objects
this was a big one
2016-12-04 17:33:29 -05:00
RogueException
08cfc1dd7f Reconnect if heartbeat fails and a user download was not requested 2016-12-04 17:29:39 -04:00
Aux
d4d8e721db Resolves #390
Fix case insensitive commands forcing parameters to return lowercase
2016-12-04 17:29:39 -04:00
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.
2016-12-03 21:11:47 -05:00
Christopher F
a967ca1ec0 [docs] Merge pull request #398 from Esscoder/patch-3
Fixed async method
2016-12-03 20:28:09 -05:00
Evan Sours
cdb723bbeb Fixed async method
CheckPermissions was not set to async so await would not work.
2016-12-03 18:25:31 -07:00
Christopher F
106ff4df5d [docs] Merge pull request #397 from Esscoder/patch-2
Fixed Install -> commands.LoadAssembly
2016-12-03 19:54:02 -05:00
Evan Sours
0e43d6c6f5 Fixed Install -> commands.LoadAssembly
await commands.LoadAssembly(Assembly.GetCurrentAssembly(), map);
->
await commands.AddModulesAsync(Assembly.GetEntryAssembly());
2016-12-03 17:44:32 -07:00
Christopher F
1402c9558f [docs] Merge pull request #396 from Esscoder/patch-1
Fixed HandleCommand Error message
2016-12-03 19:03:20 -05:00
Evan Sours
dd9ae6e870 Fixed HandleCommand Error message
if (!result.IsSuccess)
    await msg.Channel.SendMessageAsync(result.ErrorReason);
}
msg -> context
2016-12-03 17:02:08 -07:00
Christopher F
deafa3d755 save your work before committing
*facepalm*
2016-12-03 18:56:07 -05:00
Christopher F
c80f73764c Properly implement UserUpdated for Username or Avatar Changes 2016-12-03 18:56:07 -05:00
Christopher F
1e55d30a65 Raise GuildMemberUpdated when a Nickname is modified 2016-12-03 18:56:07 -05:00
FiniteReality
704b2b75f4 Fix changes after review 2016-12-03 23:51:20 +00:00
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.
2016-12-03 23:51:20 +00:00
FiniteReality
d2d7b4dce7 Make _typeReaderTypeInfo static
Seems I missed this originally, whoops.
2016-12-03 23:49:05 +00:00
FiniteReality
156483bf71 Rename overridenType to overridenTypeReader
The previous name was causing some confusion
2016-12-03 23:49:05 +00:00
FiniteReality
f11f416024 Add IDependencyMap to parameter preconditions 2016-12-03 23:49:05 +00:00
FiniteReality
b7a5ee6542 Parameter preconditions and typereader overriding 2016-12-03 23:49:05 +00:00
Christopher F
d8c0f0aa4c [docs] fix xrefs 2016-12-03 16:46:49 -05:00
Christopher F
779aaffbf4 [docs] rewrite commands, update samples 2016-12-03 16:41:45 -05:00
Christopher F
2cae0bda79 Merge pull request #393 from Nikey646/patch-1
EmbedBuilder.WithImageUrl() now uses the value passed
2016-12-01 18:41:50 -05:00
Nikey646
11f507e26a EmbedBuilder.WithImageUrl() now uses the value passed 2016-12-01 12:04:32 +11:00
james7132
2c768c413a Revert CommandService.Modules change 2016-11-30 19:52:58 +00:00
james7132
790ca10d17 Fix accidental line join 2016-11-28 20:44:29 -08:00
james7132
4896524d1a Limit CommandService.Modules to top level modules 2016-11-28 20:44:29 -08:00
james7132
6865318071 Fix IsSubmodule property's correctness 2016-11-28 20:40:44 -08:00
james7132
0771fcce63 Add Parent property to ModuleInfo 2016-11-28 20:40:44 -08:00
RogueException
aceac76d1d Merge pull request #387 from james7132/timespan-reader
Add TimeSpan TypeReader
2016-11-28 17:52:26 -04:00
james7132
3e35666186 Add TimeSpan TypeReader 2016-11-27 01:57:12 -08:00
RogueException
08ae9e4e86 Fixed logic in precondition attribute docstrings 2016-11-27 01:13:29 -04:00
RogueException
2a33bb0c12 Escaped amp in XML example. 2016-11-27 01:07:19 -04:00
RogueException
f56a1b653d Cleaned up Reactions PR 2016-11-27 00:55:01 -04:00
RogueException
2e1ec5803b Added AddReactions to Permission constructors 2016-11-27 00:41:03 -04:00
RogueException
6100aa93ab Merge branch 'feature/reactions' into dev 2016-11-27 00:31:19 -04:00
RogueException
b9eeac9105 Merge branch 'dev' into feature/reactions 2016-11-27 00:30:46 -04:00
RogueException
08d85cd2d9 Merge pull request #375 from LassieME/embed/fix-urls-add-timestamp
Adds Timestamps to embeds, and removes Image and Thumbnail-Builders
2016-11-27 00:20:15 -04:00
Christopher F
1406943bf9 Merge pull request #381 from RogueException/issue/268
Add configuration option for case insensitive commands
2016-11-26 23:17:12 -05:00
Christopher F
d72122eef9 Resolve conflicts. 2016-11-26 23:15:36 -05:00
Christopher F
ecc3d9c729 Add configuration option for case insensitive commands
Currently, commands are case-sensitive. This PR allows for commands to be case insensitive (which is now the default option).
2016-11-26 23:12:23 -05:00
RogueException
2daf6cb16c Merge pull request #378 from RogueException/issue/224
Close the WebSocket when disconnecting
2016-11-26 23:52:15 -04:00
RogueException
d74257cb69 Drop applicationinfo cache on logout, fixed RPC appinfo exception. 2016-11-26 23:51:23 -04:00
RogueException
c99c78a2fe Merge branch 'feature/more-preconditions' into dev 2016-11-26 23:41:55 -04:00
RogueException
a0c9ba92db Merge branch 'dev' into feature/more-preconditions 2016-11-26 23:41:45 -04:00
RogueException
80da813acc Merge pull request #383 from RogueException/feature/color-improvements
Throw an exception when creating a Color with an invalid float value
2016-11-26 23:33:54 -04:00
Christopher F
55f6efd080 Merge branch 'issue/365'
Conflicts:
	src/Discord.Net.Commands/CommandService.cs
2016-11-26 22:26:47 -05:00
Christopher F
9d4339e695 Fix a few typos in Color constraint logic 2016-11-26 22:13:43 -05:00
Christopher F
fb99b019a0 Fix issues with DefaultRunMode
For a command to use the DefaultRunMode, it must now have it's RunMode set to RunMode.Default (this is the default value on CommandAttribute now).
2016-11-26 22:04:02 -05:00
Christopher F
210c360fca Throw an exception when creating a Color with an invalid float value
This prevents a 400 when sending a malformed color to Discord.
2016-11-26 21:32:21 -05:00
Christopher F
1be6f77efb Don't check message content if an embed is present when modifying 2016-11-26 21:22:35 -05:00