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
49c16df9cd
Merge pull request #336
2016-11-12 01:42:16 -04:00
RogueException
b1506879db
Cleaned up Hierarchy PR
2016-11-12 01:37:59 -04:00
Alex
d8440b764a
Changes requested from review
2016-11-12 00:07:25 -05:00
RogueException
c037865b28
Cleaned up PR
2016-11-12 01:00:42 -04:00
RogueException
fa7c60865d
Merge pull request #350 from LassieME/issues/342
...
Fix nullref during CreateRoleAsync
2016-11-12 00:58:14 -04:00
Christopher F
983b50120d
Support "MESSAGE_REACTION_REMOVE_ALL" dispatch
2016-11-11 16:28:07 -05: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
Sindre
a6f89b7c36
Solves Issue 342, but there might be a cleaner way to do this that doesnt make you end up with a IGuild in the RestRole.
2016-11-10 16:47:51 +01: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
Christopher F
8dfc6aea67
Add optional user/message/channel objects to Reactions
2016-11-06 13:33:37 -05:00
Christopher F
676fbbcd23
Fix invoking reaction events twice
2016-11-05 22:23:01 -05:00
Christopher F
718560917c
RequestOptions should be optional on Reactions
2016-11-05 21:43:18 -05:00
Christopher F
c6d9bbf063
Clean up some bugs when parsing unicode emoji
2016-11-05 18:45:35 -04:00
Christopher F
e2e2c4308d
Refactor, rearrange, reimplement reactions; receive over gateway
2016-11-05 18:15:47 -04:00
AntiTcb
1d20029c7b
Enumerate over Enum.GetNames to ensure equal value names are not excluded.
2016-11-02 03:01:42 -04:00
Christopher F
7018bc9c58
"""Support""" the 'reactions' field on message objects
...
this is all really broken
2016-10-31 21:00:35 -04:00
Christopher F
838d60e2c2
Add API model for Reaction, implement REST methods for reactions
2016-10-31 19:50:38 -04: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
9fcf88b7ac
Merge pull request #333 from LassieME/issue-332-fix
...
Update ReplyAsync Task to return the sent message.
2016-10-25 03:37:06 -03:00
Sindre Langhus
0b43545ae0
Update ReplyAsync Task to return the sent message.
2016-10-23 23:55:09 +02:00
Christopher F
0b42a2b1b4
Assign a default value to DiscordSocketClient.Status
...
This property previously had a default value of 'null'. In DiscordSocketClient#ConnectInternalAsync, we would attempt to send a null status to Discord, which would fail to serialize, and force the client to disconnect.
2016-10-22 13:14:36 -04:00
RogueException
043f8ded85
Moved ISelfUser.ModifyStatusAsync to DiscordSocketClient.SetStatus/SetGame. Resend status on reconnect.
2016-10-21 11:22:26 -03:00
RogueException
d9e00c9170
Added guild parameter to PresenceUpdated, added GuildMemberUpdated
2016-10-21 09:31:57 -03:00
RogueException
b23d839d8b
Made RequestOptions in XXXMessage.DeleteAsync optional
2016-10-20 05:10:39 -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
RogueException
b22d704001
Renamed SocketGuild.GetCurrentUser -> CurrentUser
2016-10-20 04:40:00 -03:00
RogueException
3458a0ce75
Merge pull request #324 from LassieME/patch-issue-323
...
Fix #323
2016-10-20 04:02:06 -03:00
RogueException
313c957a34
Default isTTS to false on Send methods
2016-10-20 03:55:14 -03:00
RogueException
b8102a6767
Default DependencyMap to an empty map when not supplied
2016-10-20 03:55:14 -03:00
Christopher F
2cbfaa5498
Remove unnecessary slash in RestInvite#Url
...
thanks to auxesis for the find
2016-10-19 16:12:20 -04:00
Sindre Langhus
98088519d1
Update SocketChannelHelper.cs
2016-10-19 14:14:55 +02:00
RogueException
a464f9ec3a
Fixed errors caused by #321
2016-10-18 15:30:19 -03:00
RogueException
0d6ac00905
Merge pull request #321 from RogueException/sysmsg-deletables
...
Moved IDeletable interface up inheritance to IMessage
2016-10-18 15:27:22 -03:00
RogueException
22413f0b9b
Merge pull request #322 from james7132/send-file-async-fix
...
Fix #320
2016-10-18 15:26:48 -03:00
james7132
7dbd2b5325
Fix #320
...
I'm not entirely sure this is the proper way to fix this. However, it seems like
SendFileAsync returns the Task<RestUserMessage>, which would exit the using
block, disposing of the FileStream potentially before the Task is finished.
Changed to await the result of the task before exiting the using block.
2016-10-18 17:41:53 +00: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
3ca0067f1b
Merge pull request #313 from FiniteReality/scoped-di
...
Move DI stuff around to support scoped DI
2016-10-16 21:50:28 -03:00