AntiTcb
6fed78025c
Create DM channel if one does not exist.
8 years ago
RogueException
4c7fad78e1
Build promises when guild is unavailable
8 years ago
RogueException
285a0e5817
Updated deps, cleaned csprojs
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
RogueException
4a128b326b
Increment globaluser refs on private channel creation
8 years ago
RogueException
bd5ec0a29a
Increment GlobalUser reference count on GuildUser creation
8 years ago
Christopher F
576a52cdc6
Restructure and replace emojis with a new emote system ( #619 )
8 years ago
Christopher F
7f1fc286cf
Add IChannel.Nsfw, RequireNsfw precondition ( #633 )
* Add IChannel.Nsfw, RequireNsfw precondition
* Refactored IChannel.Nsfw to IsNsfw, removed NsfwUtils
Per pull-request feedback
* proper nsfw channel check
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
RogueException
a306d83283
Added net45 TFM
8 years ago
RogueException
f8b9acc4a1
Use implicit package references ( #626 )
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
Christopher F
6000b15c4d
C#7 TODOs
8 years ago
RogueException
e762dddfbb
Added SnowflakeUtils
8 years ago
RogueException
8d9e11c08a
Exposed IAudioClient.SetSpeakingAsync
8 years ago
RogueException
d2a7be91e5
Added experimental jitter buffer
8 years ago
RogueException
79fd14a95f
Various audio fixes
8 years ago
RogueException
39b0a998c8
Fixed a few audio constants
8 years ago
RogueException
e92cfd20ac
Audio bugfixes and improvements.
8 years ago
RogueException
424216b793
Disable FEC decoding
8 years ago
RogueException
22a7b7dbba
Support more incoming RTP packets types
8 years ago
RogueException
ee4cde69a4
Added UDP keepalives and latency
8 years ago
RogueException
65154e0d4a
Enable FEC decoding
8 years ago
RogueException
483d26093b
Bump up Opus PLP to 30
8 years ago
RogueException
d2a4f1f09b
Strip RTP header during read
8 years ago
RogueException
cbb38bd101
Hide Entity.Discord property
8 years ago
RogueException
0d361def93
Fixed a couple incoming audio bugs
8 years ago
RogueException
653502c371
Changed GuildUser.Roles to ReadOnlyCollection
8 years ago
RogueException
6192228378
Raise GuildMembersDownloaded for non-large guilds
8 years ago
RogueException
eed0598f99
Destroy audio stream when a user disconnects
8 years ago
RogueException
c49118e25f
Fixed several audio stream issues
8 years ago
RogueException
ac0a31c3be
Send speaking during audio connect
8 years ago
RogueException
d7928622f3
Guild presence should update global. Cleaned up.
8 years ago
RogueException
91b61768f9
Call SetSpeaking directly from BufferedWriteStream
8 years ago
RogueException
e49122ea7e
Automatically toggle speaking boolean
8 years ago
RogueException
f3b8937686
Added TryReadFrame and AvailableFrames to AudioInStream
8 years ago
RogueException
b1caec5f59
Add better support for invisible users
8 years ago
RogueException
58d2de2578
Added config for handler timeout duration
8 years ago
RogueException
f0202e4d4e
Improved warnings for unknown entities
8 years ago
RogueException
e0e28c6dd1
Changed EmbedChannel's type to GuildChannel
8 years ago
RogueException
bc2e0a19af
Fixed non-guild presence updates
8 years ago
RogueException
fd72583a75
Move guild presence updates to GuildMemberUpdated. Filter duplicate UserUpdated events.
8 years ago
RogueException
004bb4cae0
Don't nullref in ShardedClient's OnLogout if already logged out.
8 years ago
RogueException
6798ba0d4b
Prevent duplicate incoming stream events on connect
8 years ago
RogueException
fd043b3d53
Clear input streams on audiostream disconnect
8 years ago
RogueException
d991834c50
InputStreams should be disposed when destroyed
8 years ago
RogueException
d243587a97
Send no more than 10 frames of silence.
8 years ago
RogueException
909127d330
InputStream reads should wait until data is available.
8 years ago