Commit Graph

305 Commits

Author SHA1 Message Date
RogueException
158ce0f922 Started adding IAudioClient incoming stream creation/destruction events 2017-03-31 03:59:12 -03:00
RogueException
5e94b97024 Added RequestOptions to RestClient methods. Added guild summary paging. 2017-03-31 03:01:49 -03:00
RogueException
5a1beeeb66 Fixed DiscordShardedClient CurrentUser and RecipientRemoved 2017-03-31 01:31:38 -03:00
RogueException
13d488f43b Added slow/deadlocked event handler detection 2017-03-31 00:35:20 -03:00
RogueException
bf0be82d15 Added IWebhookUser and MessageSource 2017-03-30 23:29:30 -03:00
RogueException
e7401eda68 Fixed internal nullref on voicestate change 2017-03-25 19:25:00 -03:00
RogueException
df129dd766 Actually populate SocketSimpleUser's fields 2017-03-23 11:38:03 -03:00
RogueException
3a45e9ec87 Support InvalidSession(true) 2017-03-20 23:49:17 -03:00
RogueException
20f7ba431f Cleaned up and fixed several reorder issues. 2017-03-20 23:48:41 -03:00
RogueException
8d435e994b Filter null roles in SocketGuildUser 2017-03-20 23:46:11 -03:00
Mateusz Brawański
efbd3cb681 GuildUserExtensions removed in favour of atomic role add/remove endpoints (#540)
* Removed GuildUserExtensions and moved the methods to IGuildUser and implementations

* Made changes per fox's suggestion: Change->Modify. New Modify overload.

* Oops

* Per Volt: reimplemented new endpoints

* Fixing broken docstrings

* I forgot that docstrings are XML

* Implemented atomic add/remove role endpoints

* Removed  so people aren't irked

* Added single-item role add/remove methods
2017-03-18 08:54:49 -03:00
RogueException
84b3d24175 Merge pull request #549 from Mushroom/reactions
Added support for reaction 'me' field
2017-03-18 08:40:55 -03:00
RogueException
711a4e90a4 Renamed AvatarFormat -> ImageFormat. Cleaned up. 2017-03-18 08:30:33 -03:00
RogueException
6dd2e0a708 Merge pull request #573 from james7132/auto-avatar
Automatic animated avatar detection
2017-03-18 08:24:31 -03:00
RogueException
2b16c8620d Avoid catching log errors 2017-03-15 23:40:25 -03:00
RogueException
254c83ecff Started adding audio receive 2017-03-15 23:40:25 -03:00
RogueException
1d5b7a2b01 Removed Unknown status 2017-03-15 23:40:25 -03:00
RogueException
3bd920ce66 Merged UserPresenceUpdated into UserUpdated 2017-03-15 23:40:25 -03:00
james7132
bfc4fd686e Automatic animated avatar detection 2017-03-15 00:33:07 +00:00
RogueException
92028f59e9 Removed SocketClient's explicit ConnectionState 2017-03-13 22:25:38 -03:00
RogueException
900b9b082e Removed persistant guild list for user downloads 2017-03-13 22:17:35 -03:00
RogueException
cab41851ba Prevent duplicate GuildUnavailables 2017-03-13 22:14:30 -03:00
RogueException
7e7df27024 Ready event waits until guilds are downloaded 2017-03-13 22:14:30 -03:00
Christopher F
bb78c50b6f Fix ConnectionState on DiscordSocketClient
This should resolve a plethora of relates issues, including user downloading not working (#542), possibly #531
2017-03-09 19:25:43 -05:00
Mushroom
78076bd9df Added support for reaction 'me' field 2017-03-03 01:51:46 +00:00
RogueException
1b0e47be42 Fixed SocketRole.CompareTo 2017-03-02 06:55:09 -04:00
RogueException
8c75e0d581 Fixed a couple audio bugs 2017-03-02 06:12:14 -04:00
Christopher F
5e1d84d918 Merge pull request #395 from LassieME/issue/359
Conflicts:
	src/Discord.Net.WebSocket/DiscordSocketClient.cs
2017-03-01 17:34:39 -05:00
RogueException
4c2221dacb More audio cleanup, finished receive streams 2017-02-26 13:43:11 -04:00
RogueException
8e0c65498b Cleaned up audio code 2017-02-26 10:57:28 -04:00
Christopher F
2db60749ca Add IsUnique parameter to CreateChannelInvite
Resolves #469
2017-02-25 16:17:58 -05:00
RogueException
06dcac6a9f Fixed audio and a few ConnectionManager issues 2017-02-25 16:07:22 -04:00
RogueException
3190d7e26d Moved (re)connection handling to ConnectionManager 2017-02-25 16:07:22 -04:00
RogueException
8630185ac9 Started Discord.Net.Relay 2017-02-25 16:07:22 -04:00
RogueException
d321ad3e5c Moved Frame models, added default providers 2017-02-25 16:07:22 -04:00
Christopher F
c486f0ee50 Don't force avatar formats 2017-02-23 16:11:34 -05:00
Christopher F
a5adc8a129 Cleanup from rebase 2017-02-23 16:04:13 -05:00
Christopher F
6116c1bcef Replace IUser.AvatarUrl with IUser#GetAvatarUrl(size)
This is to support the new user image endpoint, which provides a parameter for image resizing.
2017-02-23 15:59:17 -05:00
Christopher F
bb9f144eae Remove implicit SocketGuildUser.RoleIds; refactor Roles to ReadOnly 2017-02-21 16:19:33 -05:00
Sindre G. Langhus
ab60f63511 Changes HasValue in Cachable to constructor argument 2017-02-21 22:11:48 +09:00
Christopher F
e601cea255 Add Roles property to SocketGuildUser
there's a few different ways to select a user's roles from their role IDs, and this one seems to be the most efficient.

doesn't seem like there's any reason this shouldn't be included.
2017-02-15 15:59:23 -05:00
RogueException
e0a0d2100d Reduced missed heartbeat aggressiveness 2017-02-11 01:49:28 -04:00
RogueException
8be4cb72e3 SocketSystemMessage Internal -> Public 2017-02-07 21:15:27 -04:00
RogueException
0cf5493c61 Fixed crash, added DM/Group channel helpers 2017-02-07 21:10:30 -04:00
RogueException
d9fd0c34e4 Fixed bugs with creating invites 2017-02-07 19:48:09 -04:00
Sindre Langhus
d8682a82b2 Change all signatures in the SocketClients to interfaces. 2017-02-03 15:04:54 +01:00
Sindre G. Langhus
25547407c8 Now this should be ready to, I am the worst at git. 2017-02-02 14:41:27 +01:00
Sindre G. Langhus
4b13e3fb00 Changed MessageUpdated to use Cacheable as well, after discussion with Volt. 2017-02-02 13:52:38 +01:00
Sindre G. Langhus
2a1314da25 Cleanup. 2017-02-02 13:52:35 +01:00
Sindre G. Langhus
705d71875c Simplified PR, renamed Cached to Cacheable. 2017-02-02 13:51:53 +01:00