Commit Graph

483 Commits

Author SHA1 Message Date
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
RogueException
2daf6cb16c Merge pull request #378 from RogueException/issue/224
Close the WebSocket when disconnecting
2016-11-26 23:52:15 -04:00
Christopher F
9d4339e695 Fix a few typos in Color constraint logic 2016-11-26 22:13:43 -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
Sindre Langhus
08b836797b Current timestamp namechange 2016-11-26 04:43:29 +01:00
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.
2016-11-25 22:12:28 -05:00
Christopher F
58291f8199 Close the WebSocket when disconnecting
This resolves #224
2016-11-25 21:45:56 -05:00
Christopher F
8222eaff86 Add permissions for reactions 2016-11-25 18:27:20 -05:00
Sindre G. Langhus
54dd0a5cec Fixed ordering. 2016-11-25 21:51:52 +01:00
Sindre G. Langhus
d0158816d3 Adds DateFormatString to DiscordRestApiClient 2016-11-25 17:10:05 +01:00
Sindre G. Langhus
a455ccc334 Adds a timestamp and fixes Volts issues with Thumbnail and Image URLs. 2016-11-24 01:17:39 +01:00
Sindre G. Langhus
8cf0911a4b DebuggerDisplay fix. 2016-11-23 00:35:31 +01:00
Sindre G. Langhus
4cb7929735 Spacing 2016-11-23 00:27:33 +01:00
Sindre G. Langhus
f8e3ac9910 Something like this perhaps 2016-11-23 00:10:01 +01:00
Sindre G. Langhus
6cdf5ee90e Removed Height/Width. 2016-11-22 23:38:43 +01:00
Sindre G. Langhus
09608b79c3 Adds builders for Thumbnail and Image embeds, and adds json model for Video and Image embeds. 2016-11-22 22:22:16 +01:00
Aaron Scherer
8b8163fc2c Updating CDN url 2016-11-18 15:16:42 -08:00
RogueException
3a5e4b23da Added IGuildUser.ChangeRolesAsync 2016-11-18 09:00:01 -04:00
RogueException
2c990f08f8 Readded fluent-style to EmbedBuilder 2016-11-18 08:33:34 -04:00
RogueException
593ba46f1c Cleaned up command builders and async func names 2016-11-18 08:18:00 -04:00
RogueException
7505831998 Added custom messages to Preconditions 2016-11-18 06:36:51 -04:00
RogueException
42cbd67ee0 Removed prerelease tag from project.json 2016-11-17 16:23:12 -04:00
RogueException
cf42bd1854 Restored project.json and old build script 2016-11-17 16:18:49 -04:00
RogueException
0f674d2404 Updated dependencies to .NET Core 1.1 2016-11-17 17:30:51 -04:00
ObsidianMinor
ddca1bc6a4 Migrated projects to Visual Studio 2017 2016-11-17 10:05:30 -06:00
RogueException
228209aec8 Ensure rate limits are updated when requests fail 2016-11-16 16:26:06 -04:00
RogueException
853f8f2e6b Added prefixless TagHandling, added startIndex to resolve, fixed bugs. 2016-11-16 16:26:06 -04:00
RogueException
bdb44f3606 Minor edit 2016-11-14 20:28:34 -04:00
RogueException
af6c3e10c3 Cleaned up EmbedBuilder 2016-11-14 20:16:24 -04:00
RogueException
c2722cf7c4 SendMessage should accept EmbedBuilder directly 2016-11-14 20:05:43 -04:00
RogueException
8c5f5ffb7d Merge branch 'dev' into feature/rich-embeds 2016-11-14 19:58:58 -04:00
RogueException
b2948deaf7 Fixed unused timeout const, dropped default request timeout to 15s. 2016-11-14 08:43:12 -04:00
RogueException
4633735ae9 Created ClientBucketType enum 2016-11-14 08:15:41 -04:00
RogueException
91e6cb98c3 Merged request BucketId and ClientBucketId. Added IsClientBucket. 2016-11-14 08:15:41 -04:00
RogueException
2e95e4232f Disabled rate limit debugging by default 2016-11-14 08:15:40 -04:00
RogueException
7773e1d1cb Removed old GetBucketId function 2016-11-14 08:15:40 -04:00
RogueException
d402d8bff1 Merge pull request #346 from ObsidianMinor/dev
Make header dictionary ignore case
2016-11-13 16:32:21 -04:00
Christopher F
3698dbfedc Only allow messages with an embed present to be sent with no content 2016-11-13 14:16:49 -05:00
Christopher F
754970bb56 When sending a message with no content, do not send a null value.
Resolves an issue where the ratelimiter would panic.
2016-11-13 13:54:46 -05:00
Christopher F
8866a1499c Allow content to be empty when sending a message 2016-11-13 01:02:44 -05:00
Christopher F
bad7d827c3 Modify SendMessage to include an embeds field 2016-11-13 00:51:40 -05:00
Christopher F
52f979ec8a Support sending rich embeds, add an Embed Builder 2016-11-13 00:35:46 -05:00
Christopher F
63b06ff477 Support Rich Embeds on Entities 2016-11-12 23:23:38 -05:00
Christopher F
6e8d1118ec Update API models to fully support rich embeds 2016-11-12 23:04:08 -05:00
RogueException
b1506879db Cleaned up Hierarchy PR 2016-11-12 01:37:59 -04:00
Christopher F
6b5a4b3ee6 Support the "Clear Reactions" endpoint 2016-11-11 15:52:14 -05:00
ObsidianMinor
29c9ac9ef3 Reverted old code and added simple IgnoreCase to header dictionary 2016-11-10 21:21:21 -06:00
ObsidianMinor
bb9c43b21a Update RequestQueueBucket.cs
Access "Date" in response header safely with TryGetValue. Hopefully nothing bad happens when lag is 0
2016-11-07 13:42:25 -06:00
Christopher F
9725dcec24 Use ToString in converter instead of boxing-cast
In cases where Discord sent a value of `id=0`, this would throw an invalid-cast, where 0u64 cannot be cast to string.
2016-11-06 13:34:38 -05:00