Christopher F
6e8d1118ec
Update API models to fully support rich embeds
8 years ago
RogueException
49c16df9cd
Merge pull request #336
8 years ago
RogueException
b1506879db
Cleaned up Hierarchy PR
8 years ago
Alex
d8440b764a
Changes requested from review
8 years ago
RogueException
c037865b28
Cleaned up PR
8 years ago
RogueException
fa7c60865d
Merge pull request #350 from LassieME/issues/342
Fix nullref during CreateRoleAsync
8 years ago
Christopher F
983b50120d
Support "MESSAGE_REACTION_REMOVE_ALL" dispatch
8 years ago
Christopher F
6b5a4b3ee6
Support the "Clear Reactions" endpoint
8 years ago
ObsidianMinor
29c9ac9ef3
Reverted old code and added simple IgnoreCase to header dictionary
8 years ago
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.
8 years ago
ObsidianMinor
bb9c43b21a
Update RequestQueueBucket.cs
Access "Date" in response header safely with TryGetValue. Hopefully nothing bad happens when lag is 0
8 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.
8 years ago
Christopher F
8dfc6aea67
Add optional user/message/channel objects to Reactions
8 years ago
Christopher F
676fbbcd23
Fix invoking reaction events twice
8 years ago
Christopher F
718560917c
RequestOptions should be optional on Reactions
8 years ago
Christopher F
c6d9bbf063
Clean up some bugs when parsing unicode emoji
8 years ago
Christopher F
e2e2c4308d
Refactor, rearrange, reimplement reactions; receive over gateway
8 years ago
AntiTcb
1d20029c7b
Enumerate over Enum.GetNames to ensure equal value names are not excluded.
8 years ago
Christopher F
7018bc9c58
"""Support""" the 'reactions' field on message objects
this is all really broken
8 years ago
Christopher F
838d60e2c2
Add API model for Reaction, implement REST methods for reactions
8 years ago
james7132
97a6bf6b6e
Add IGuildUser.Hirearchy, added docstrings
Property can be renamed as needed.
8 years ago
james7132
89e61fe7d7
Fixed variable naming
8 years ago
james7132
2e9bca5b85
Fix role comparison
8 years ago
james7132
08c7b49aae
Remove IComparable<IGuildUser>
8 years ago
james7132
50d1aa0689
Implemented IComparable<IRole> on IGuildUser
8 years ago
james7132
f3cd96d2fe
Implemented IComparable<T> on IRole and IGuildUUser
8 years ago
RogueException
9fcf88b7ac
Merge pull request #333 from LassieME/issue-332-fix
Update ReplyAsync Task to return the sent message.
8 years ago
Sindre Langhus
0b43545ae0
Update ReplyAsync Task to return the sent message.
8 years ago
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.
8 years ago
RogueException
043f8ded85
Moved ISelfUser.ModifyStatusAsync to DiscordSocketClient.SetStatus/SetGame. Resend status on reconnect.
8 years ago
RogueException
d9e00c9170
Added guild parameter to PresenceUpdated, added GuildMemberUpdated
8 years ago
RogueException
b23d839d8b
Made RequestOptions in XXXMessage.DeleteAsync optional
8 years ago
RogueException
6e1a76d070
Merge pull request #327 from RogueException/issue-240
Adjusted GetGuildPruneCount to using params;
8 years ago
Khionu Sybiern
8f553e60a1
Adjusted GetGuildPruneCount to using params;
fixes #240
8 years ago
RogueException
b860392b44
Guild prunes must be at least 1 day
8 years ago
RogueException
b22d704001
Renamed SocketGuild.GetCurrentUser -> CurrentUser
8 years ago
RogueException
3458a0ce75
Merge pull request #324 from LassieME/patch-issue-323
Fix #323
8 years ago
RogueException
313c957a34
Default isTTS to false on Send methods
8 years ago
RogueException
b8102a6767
Default DependencyMap to an empty map when not supplied
8 years ago
Christopher F
2cbfaa5498
Remove unnecessary slash in RestInvite#Url
thanks to auxesis for the find
8 years ago
Sindre Langhus
98088519d1
Update SocketChannelHelper.cs
8 years ago
RogueException
a464f9ec3a
Fixed errors caused by #321
8 years ago
RogueException
0d6ac00905
Merge pull request #321 from RogueException/sysmsg-deletables
Moved IDeletable interface up inheritance to IMessage
8 years ago
RogueException
22413f0b9b
Merge pull request #322 from james7132/send-file-async-fix
Fix #320
8 years ago
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.
8 years ago
Khionu Sybiern
505a63f8e0
Update IMessage.cs
8 years ago
Khionu Sybiern
57824b6847
Update IUserMessage.cs
8 years ago
RogueException
dfe654af3b
PagedAsyncEnumerator's nextPage should return false if there are no more pages.
8 years ago
RogueException
3ca0067f1b
Merge pull request #313 from FiniteReality/scoped-di
Move DI stuff around to support scoped DI
8 years ago
Christopher F
11f4dc0d10
Add a missing null-conditional in CommandContext#ctor
Prevents an NRE when creating a CommandContext from a message in an IDMChannel
8 years ago