Christopher F
e2aa0e92a4
Slight modification to fix images in thumbnails
8 years ago
Christopher F
64681856b1
Create wrapper modify objects
this was a big one
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
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
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
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
RogueException
6100aa93ab
Merge branch 'feature/reactions' into dev
8 years ago
RogueException
b9eeac9105
Merge branch 'dev' into feature/reactions
8 years ago
RogueException
08d85cd2d9
Merge pull request #375 from LassieME/embed/fix-urls-add-timestamp
Adds Timestamps to embeds, and removes Image and Thumbnail-Builders
8 years ago
Christopher F
1406943bf9
Merge pull request #381 from RogueException/issue/268
Add configuration option for case insensitive commands
8 years ago
Christopher F
d72122eef9
Resolve conflicts.
8 years ago
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).
8 years ago
RogueException
2daf6cb16c
Merge pull request #378 from RogueException/issue/224
Close the WebSocket when disconnecting
8 years ago
RogueException
d74257cb69
Drop applicationinfo cache on logout, fixed RPC appinfo exception.
8 years ago
RogueException
c99c78a2fe
Merge branch 'feature/more-preconditions' into dev
8 years ago
RogueException
a0c9ba92db
Merge branch 'dev' into feature/more-preconditions
8 years ago
RogueException
80da813acc
Merge pull request #383 from RogueException/feature/color-improvements
Throw an exception when creating a Color with an invalid float value
8 years ago
Christopher F
55f6efd080
Merge branch 'issue/365'
Conflicts:
src/Discord.Net.Commands/CommandService.cs
8 years ago
Christopher F
9d4339e695
Fix a few typos in Color constraint logic
8 years ago
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).
8 years ago
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.
8 years ago
Christopher F
1be6f77efb
Don't check message content if an embed is present when modifying
8 years ago
Christopher F
1ed4f703bf
Cache the current application on DiscordSocketClient
8 years ago
Sindre Langhus
08b836797b
Current timestamp namechange
8 years ago
RogueException
97c3f2bcd1
Merge pull request #380 from RogueException/issue/374
ModifyAsync will accept an EmbedBuilder
8 years ago
RogueException
aefbf1716d
Merge pull request #377 from RogueException/issue/368
Add CommandServiceConfig, DefaultRunMode
8 years ago
Christopher F
6519b300d9
ModifyAsync will accept an EmbedBuilder
**This is not a breaking change**.
This change begins to implement #379 , where IUserMessage.ModifyAsync will now accept a `Discord.ModifyMessageParams` func over a `Discord.API.Rest.ModifyMessageParams` func.
8 years ago
Christopher F
58291f8199
Close the WebSocket when disconnecting
This resolves #224
8 years ago
Christopher F
f9c5e229d0
Add CommandServiceConfig, DefaultRunMode
This adds an (optional) CommandServiceConfig, as well as a DefaultRunMode for commands.
This resolves #368 (for commands where a RunMode is not explicitly specified, a custom default value should be used)
8 years ago
Christopher F
8222eaff86
Add permissions for reactions
8 years ago
Christopher F
defc8f1c4e
Add docstrings to preconditions.
8 years ago
Christopher F
ea148db08b
Add RequireBotPermission, rename RequirePermission
This is a breaking change.
Adds a precondition that requires the bot has a specified permission (Resolves #211 ).
Renames RequirePermission to RequireUserPermission.
8 years ago
Christopher F
fdecfe6bd4
Add RequireOwner Precondition
This precondition will require that the invoker of the command is the owner of the bot.
8 years ago
FiniteReality
5cdda592c1
Add requested changes
8 years ago
FiniteReality
bc76e38ce5
Fix additional issue with aliases building incorrectly
8 years ago
Sindre G. Langhus
54dd0a5cec
Fixed ordering.
8 years ago