RogueException
f997089174
Try to pull DM channels from cache on CHANNEL_CREATE
8 years ago
RogueException
14dfc48df3
Style cleanup
8 years ago
Christopher F
5f04e2beba
Cache outgoing presence data if disconnected ( #705 )
This resolves #702
8 years ago
AntiTcb
7db38f32bb
Attach/Remove DMChannel to SocketGlobalUser.DMChannel property
8 years ago
Sindre Langhus
82a413ace6
Fix for empty user objects after GUILD_MEMBER_REMOVE ( #641 )
* Made GetOrCreateUser always call AddRef and added check to PRESENCE_UPDATE to avoid readding users who have been removed from guilds
* Removed AddRef as per dev guild discussion
8 years ago
Sindre Langhus
90ac9027cf
Replace Where+FirstOrDefault with FirstOrDefault in SocketClient ( #636 )
* Replace Where.FirstOrDefault with FirstOrDefault
* Replace Where+FirstOrDefault in ClientHelper
8 years ago
Christopher F
be6abe1161
Throw when the client isn't logged in instead of connected
The previous commit prevents any connections, since the initial presence update is sent while the client is still in the 'connecting' state, rather than the 'connected' state.
This resolves the original issue by preventing a nullref, and the more recent issue by only throwing a detailed exception when the CurrentUser is null (the client isn't logged in).
8 years ago
Christopher F
f759f942f8
Throw a preemptive exception when sending presence data before connect
This prevents a later, less detailed nullref, when attempting to set the CurrentUser's presence data.
This also removes a redundant CurrentUser assignment in the SetGameAsync method, since this will be set later on in the SendStatusAsync method.
8 years ago
Christopher F
431b7fbd9f
Visual Studio C#7 suggestions
8 years ago
RogueException
6192228378
Raise GuildMembersDownloaded for non-large guilds
9 years ago
RogueException
eed0598f99
Destroy audio stream when a user disconnects
9 years ago
RogueException
b1caec5f59
Add better support for invisible users
9 years ago
RogueException
58d2de2578
Added config for handler timeout duration
9 years ago
RogueException
f0202e4d4e
Improved warnings for unknown entities
9 years ago
RogueException
bc2e0a19af
Fixed non-guild presence updates
9 years ago
RogueException
fd72583a75
Move guild presence updates to GuildMemberUpdated. Filter duplicate UserUpdated events.
9 years ago
RogueException
27d6f4159d
Lowered latency updates to debug level
9 years ago
RogueException
158ce0f922
Started adding IAudioClient incoming stream creation/destruction events
9 years ago
RogueException
5e94b97024
Added RequestOptions to RestClient methods. Added guild summary paging.
9 years ago
RogueException
13d488f43b
Added slow/deadlocked event handler detection
9 years ago
RogueException
bf0be82d15
Added IWebhookUser and MessageSource
9 years ago
RogueException
3a45e9ec87
Support InvalidSession(true)
9 years ago
RogueException
254c83ecff
Started adding audio receive
9 years ago
RogueException
1d5b7a2b01
Removed Unknown status
9 years ago
RogueException
3bd920ce66
Merged UserPresenceUpdated into UserUpdated
9 years ago
RogueException
92028f59e9
Removed SocketClient's explicit ConnectionState
9 years ago
RogueException
900b9b082e
Removed persistant guild list for user downloads
9 years ago
RogueException
cab41851ba
Prevent duplicate GuildUnavailables
9 years ago
RogueException
7e7df27024
Ready event waits until guilds are downloaded
9 years ago
Christopher F
bb78c50b6f
Fix ConnectionState on DiscordSocketClient
This should resolve a plethora of relates issues, including user downloading not working (#542 ), possibly #531
9 years ago
RogueException
8c75e0d581
Fixed a couple audio bugs
9 years ago
Christopher F
5e1d84d918
Merge pull request #395 from LassieME/issue/359
Conflicts:
src/Discord.Net.WebSocket/DiscordSocketClient.cs
9 years ago
RogueException
06dcac6a9f
Fixed audio and a few ConnectionManager issues
9 years ago
RogueException
3190d7e26d
Moved (re)connection handling to ConnectionManager
9 years ago
RogueException
8630185ac9
Started Discord.Net.Relay
9 years ago
RogueException
d321ad3e5c
Moved Frame models, added default providers
9 years ago
Sindre G. Langhus
ab60f63511
Changes HasValue in Cachable to constructor argument
9 years ago
RogueException
e0a0d2100d
Reduced missed heartbeat aggressiveness
9 years ago
RogueException
0cf5493c61
Fixed crash, added DM/Group channel helpers
9 years ago
Sindre Langhus
d8682a82b2
Change all signatures in the SocketClients to interfaces.
9 years ago
Sindre G. Langhus
25547407c8
Now this should be ready to, I am the worst at git.
9 years ago
Sindre G. Langhus
4b13e3fb00
Changed MessageUpdated to use Cacheable as well, after discussion with Volt.
9 years ago
Sindre G. Langhus
2a1314da25
Cleanup.
9 years ago
Sindre G. Langhus
705d71875c
Simplified PR, renamed Cached to Cacheable.
9 years ago
Sindre G. Langhus
8435186d79
returns.
9 years ago
Sindre G. Langhus
959d49a26f
renamed Cache to Cached, and refactored many events to use Cached
9 years ago
RogueException
b00b69234f
Users can no longer directly request user downloads.
9 years ago
RogueException
a266d072db
Fixed nullref during reconnect
9 years ago
RogueException
11a639c5aa
Moved a few log events to the shard logger
9 years ago
RogueException
b91026f552
Stop spamming users/@me and voice/regions
9 years ago