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.
9 years ago
Christopher F
1be6f77efb
Don't check message content if an embed is present when modifying
9 years ago
Sindre Langhus
08b836797b
Current timestamp namechange
9 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.
9 years ago
Christopher F
58291f8199
Close the WebSocket when disconnecting
This resolves #224
9 years ago
Christopher F
8222eaff86
Add permissions for reactions
9 years ago
Sindre G. Langhus
54dd0a5cec
Fixed ordering.
9 years ago
Sindre G. Langhus
d0158816d3
Adds DateFormatString to DiscordRestApiClient
9 years ago
Sindre G. Langhus
a455ccc334
Adds a timestamp and fixes Volts issues with Thumbnail and Image URLs.
9 years ago
Sindre G. Langhus
8cf0911a4b
DebuggerDisplay fix.
9 years ago
Sindre G. Langhus
4cb7929735
Spacing
9 years ago
Sindre G. Langhus
f8e3ac9910
Something like this perhaps
9 years ago
Sindre G. Langhus
6cdf5ee90e
Removed Height/Width.
9 years ago
Sindre G. Langhus
09608b79c3
Adds builders for Thumbnail and Image embeds, and adds json model for Video and Image embeds.
9 years ago
Aaron Scherer
8b8163fc2c
Updating CDN url
9 years ago
RogueException
3a5e4b23da
Added IGuildUser.ChangeRolesAsync
9 years ago
RogueException
2c990f08f8
Readded fluent-style to EmbedBuilder
9 years ago
RogueException
593ba46f1c
Cleaned up command builders and async func names
9 years ago
RogueException
7505831998
Added custom messages to Preconditions
9 years ago
RogueException
42cbd67ee0
Removed prerelease tag from project.json
9 years ago
RogueException
cf42bd1854
Restored project.json and old build script
9 years ago
RogueException
0f674d2404
Updated dependencies to .NET Core 1.1
9 years ago
ObsidianMinor
ddca1bc6a4
Migrated projects to Visual Studio 2017
9 years ago
RogueException
228209aec8
Ensure rate limits are updated when requests fail
9 years ago
RogueException
853f8f2e6b
Added prefixless TagHandling, added startIndex to resolve, fixed bugs.
9 years ago
RogueException
bdb44f3606
Minor edit
9 years ago
RogueException
af6c3e10c3
Cleaned up EmbedBuilder
9 years ago
RogueException
c2722cf7c4
SendMessage should accept EmbedBuilder directly
9 years ago
RogueException
8c5f5ffb7d
Merge branch 'dev' into feature/rich-embeds
9 years ago
RogueException
b2948deaf7
Fixed unused timeout const, dropped default request timeout to 15s.
9 years ago
RogueException
4633735ae9
Created ClientBucketType enum
9 years ago
RogueException
91e6cb98c3
Merged request BucketId and ClientBucketId. Added IsClientBucket.
9 years ago
RogueException
2e95e4232f
Disabled rate limit debugging by default
9 years ago
RogueException
7773e1d1cb
Removed old GetBucketId function
9 years ago
RogueException
d402d8bff1
Merge pull request #346 from ObsidianMinor/dev
Make header dictionary ignore case
9 years ago
Christopher F
3698dbfedc
Only allow messages with an embed present to be sent with no content
9 years ago
Christopher F
754970bb56
When sending a message with no content, do not send a null value.
Resolves an issue where the ratelimiter would panic.
9 years ago
Christopher F
8866a1499c
Allow content to be empty when sending a message
9 years ago
Christopher F
bad7d827c3
Modify SendMessage to include an embeds field
9 years ago
Christopher F
52f979ec8a
Support sending rich embeds, add an Embed Builder
9 years ago
Christopher F
63b06ff477
Support Rich Embeds on Entities
9 years ago
Christopher F
6e8d1118ec
Update API models to fully support rich embeds
9 years ago
RogueException
b1506879db
Cleaned up Hierarchy PR
9 years ago
Christopher F
6b5a4b3ee6
Support the "Clear Reactions" endpoint
9 years ago
ObsidianMinor
29c9ac9ef3
Reverted old code and added simple IgnoreCase to header dictionary
9 years ago
ObsidianMinor
bb9c43b21a
Update RequestQueueBucket.cs
Access "Date" in response header safely with TryGetValue. Hopefully nothing bad happens when lag is 0
9 years ago
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.
9 years ago
Christopher F
c6d9bbf063
Clean up some bugs when parsing unicode emoji
9 years ago
Christopher F
e2e2c4308d
Refactor, rearrange, reimplement reactions; receive over gateway
9 years ago
Christopher F
7018bc9c58
"""Support""" the 'reactions' field on message objects
this is all really broken
9 years ago