Commit Graph

142 Commits

Author SHA1 Message Date
RogueException
4c7fad78e1 Build promises when guild is unavailable 2017-05-10 19:28:25 -03:00
RogueException
4a128b326b Increment globaluser refs on private channel creation 2017-05-04 13:14:35 -03:00
RogueException
bd5ec0a29a Increment GlobalUser reference count on GuildUser creation 2017-05-04 13:09:55 -03:00
Christopher F
576a52cdc6 Restructure and replace emojis with a new emote system (#619) 2017-05-04 12:52:48 -03:00
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
2017-05-04 12:49:32 -03:00
RogueException
a306d83283 Added net45 TFM 2017-04-26 10:25:08 -03:00
Christopher F
431b7fbd9f Visual Studio C#7 suggestions 2017-04-23 15:23:06 -04:00
Christopher F
6000b15c4d C#7 TODOs 2017-04-23 15:13:31 -04:00
RogueException
e762dddfbb Added SnowflakeUtils 2017-04-19 14:50:33 -03:00
RogueException
cbb38bd101 Hide Entity.Discord property 2017-04-06 20:30:11 -03:00
RogueException
653502c371 Changed GuildUser.Roles to ReadOnlyCollection 2017-04-06 00:10:25 -03:00
RogueException
6192228378 Raise GuildMembersDownloaded for non-large guilds 2017-04-06 00:03:34 -03:00
RogueException
eed0598f99 Destroy audio stream when a user disconnects 2017-04-04 00:59:16 -03:00
RogueException
d7928622f3 Guild presence should update global. Cleaned up. 2017-04-03 20:41:05 -03:00
RogueException
b1caec5f59 Add better support for invisible users 2017-04-02 15:08:28 -03:00
RogueException
f0202e4d4e Improved warnings for unknown entities 2017-04-02 14:38:05 -03:00
RogueException
e0e28c6dd1 Changed EmbedChannel's type to GuildChannel 2017-04-01 21:49:34 -03:00
RogueException
fd72583a75 Move guild presence updates to GuildMemberUpdated. Filter duplicate UserUpdated events. 2017-04-01 15:05:51 -03:00
RogueException
6798ba0d4b Prevent duplicate incoming stream events on connect 2017-04-01 13:44:35 -03:00
RogueException
35e793fd9a Leave voice channel on audioclient disconnect 2017-04-01 12:59:57 -03:00
RogueException
158ce0f922 Started adding IAudioClient incoming stream creation/destruction events 2017-03-31 03:59:12 -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
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
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
james7132
bfc4fd686e Automatic animated avatar detection 2017-03-15 00:33:07 +00:00
RogueException
cab41851ba Prevent duplicate GuildUnavailables 2017-03-13 22:14:30 -03: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
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
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
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
8be4cb72e3 SocketSystemMessage Internal -> Public 2017-02-07 21:15:27 -04:00
RogueException
d9fd0c34e4 Fixed bugs with creating invites 2017-02-07 19:48:09 -04:00
RogueException
b00b69234f Users can no longer directly request user downloads. 2017-01-29 23:15:48 -04:00
RogueException
4665b63d27 Merge pull request #465 from Sentinent/user-presences
Fixed users not being updated on PRESENCE_UPDATEs
2017-01-25 17:16:50 -04:00
RogueException
a75af58bdb Merge pull request #464 from Sentinent/dev
Fixed guild member's joinedat reseting after certain events
2017-01-25 17:16:42 -04:00
RogueException
fe35400498 Cleanup 2017-01-24 11:42:28 -04:00