Commit Graph

97 Commits

Author SHA1 Message Date
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
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
james7132
97a6bf6b6e Add IGuildUser.Hirearchy, added docstrings
Property can be renamed as needed.
2016-10-29 23:05:56 +00:00
james7132
89e61fe7d7 Fixed variable naming 2016-10-29 20:40:25 +00:00
james7132
2e9bca5b85 Fix role comparison 2016-10-29 08:03:58 +00:00
james7132
08c7b49aae Remove IComparable<IGuildUser> 2016-10-29 07:50:26 +00:00
james7132
50d1aa0689 Implemented IComparable<IRole> on IGuildUser 2016-10-25 21:43:41 +00:00
james7132
f3cd96d2fe Implemented IComparable<T> on IRole and IGuildUUser 2016-10-25 21:37:18 +00:00
RogueException
043f8ded85 Moved ISelfUser.ModifyStatusAsync to DiscordSocketClient.SetStatus/SetGame. Resend status on reconnect. 2016-10-21 11:22:26 -03:00
RogueException
6e1a76d070 Merge pull request #327 from RogueException/issue-240
Adjusted GetGuildPruneCount to using params;
2016-10-20 05:05:23 -03:00
Khionu Sybiern
8f553e60a1 Adjusted GetGuildPruneCount to using params;
fixes #240
2016-10-20 04:01:18 -04:00
RogueException
b860392b44 Guild prunes must be at least 1 day 2016-10-20 04:49:21 -03:00
Khionu Sybiern
505a63f8e0 Update IMessage.cs 2016-10-18 09:30:52 -04:00
Khionu Sybiern
57824b6847 Update IUserMessage.cs 2016-10-18 09:29:23 -04:00
RogueException
dfe654af3b PagedAsyncEnumerator's nextPage should return false if there are no more pages. 2016-10-17 16:12:02 -03:00
RogueException
5389f98042 Ignore errors when deserializing Game 2016-10-16 00:51:47 -03:00
RogueException
881c0320bd Don't cache generic JsonConverters 2016-10-15 13:47:23 -03:00
RogueException
c497f95d35 Readded navigational props to interfaces 2016-10-15 12:58:32 -03:00
RogueException
75fb31e939 Removed IDiscordClient reference from IEntity 2016-10-14 13:12:47 -03:00
RogueException
84980ad203 Fixed OOB error generating bucket ids for certain endpoints 2016-10-13 12:42:08 -03:00
RogueException
13f49bfe7c Limit preemptive rate limit warnings to once per request. 2016-10-13 12:04:29 -03:00
RogueException
30067959d7 Unpack the arg array if one exists when generating bucket ids 2016-10-13 12:02:34 -03:00
RogueException
f93464523e Cleaned up the Json contract resolver, fixed user mention deserialization 2016-10-12 19:09:49 -03:00
RogueException
606d4e7ba9 Cleaned up net code, readded user token rate limits 2016-10-12 18:12:45 -03:00
RogueException
4643e44e48 Updated package info 2016-10-12 16:49:22 -03:00
RogueException
1057ee012a Made a few methods static 2016-10-11 23:45:27 -03:00
RogueException
bf10529f80 Added new rate limits 2016-10-11 23:22:42 -03:00
RogueException
635819b89f Reduced command module lifetime to a single command execution. Removed ModuleAttribute. 2016-10-10 20:27:16 -03:00
RogueException
3930e1147c doc typo 2016-10-08 21:53:49 -03:00
RogueException
6bdc0c09ca Cleaned up TODOs 2016-10-08 18:44:59 -03:00
RogueException
21c38412ad Changed snowflake GetCreatedAt() -> CreatedAt 2016-10-08 18:38:41 -03:00
RogueException
c1effbc971 Merged PlatformHelper into ConcurrentHashset 2016-10-08 18:32:45 -03:00
RogueException
09495e6d58 Made converters internal 2016-10-08 18:25:40 -03:00
RogueException
db26c0df62 Removed debug lines 2016-10-08 17:40:15 -03:00