Christopher F
608bc359ee
Removed IChannel#Nsfw, added to ITextChannel
8 years ago
Christopher F
5d7f2fc7ec
Add GetReactionUsersAsync(IEmote) overload ( #731 )
* Add GetReactionUsersAsync(IEmote) overload
Resolves #730
* Remove obsolete GetReactionUsersAsync(string) overload
8 years ago
Christopher F
4205d68b5a
Don't throw when receiving a presence for a user that doesn't exist ( #746 )
8 years ago
Christopher F
1ffcd4bfa7
Changed Guild#DefaultChannel to resolve the first accessible channel ( #777 )
* Changed Guild#DefaultChannel to resolve the first accessible channel
Resolves #776
This change is inline with hammerandchisel/discord-api-docs#329
RestGuild#DefaultChannelId is now obsolete and will throw a
NotSupportedException.
* RestGuild#DefaultChannelId will fall back to the guild ID
Adding an exception here would be a breaking change, so this was agreed
to fall back to the previous behavior, which would just return the guild
ID.
8 years ago
Christopher F
182f00f8ce
Reworked IChannel.IsNsfw to support the new API flag ( #771 )
IChannel.IsNsfw will now return false when being used on any channel
that is not an ITextChannel. When being used on an ITextChannel, this
will now account for the API flag, and fall back to the channel name.
(this is gross design, thanks discord)
8 years ago
Alex Gravely
6b5a6e7f1f
Fix everyone mention. ( #755 )
* Update RestRole.cs
Fix everyone mention.
* Update SocketRole.cs
Fix everyone mention.
* I'm good at this, I swear.
8 years ago
Pat Murphy
224d0403db
Adding Equals() overloads for reactions/emotes ( #723 )
8 years ago
Christopher F
1ce1c019b3
Add support for audit log reasons ( #708 )
* Add support for audit log reasons
* Made changes per discussion
8 years ago
Alex Gravely
707ec95717
Add SocketRole.Members property ( #659 )
* Add SocketRole.Members property
* Change Members to IEnumerable.
8 years ago
Christopher F
1942637380
Merge pull request #656 from AntiTcb/fix/GetDMChannelAsync
Remove IUser.CreateDMChannelAsync / Fix SocketGlobalUser.DMChannel
8 years ago
AntiTcb
fb57a61432
Rename to GetOrCreateDMChannelAsync
8 years ago
Alex Gravely
8c2a46e9e7
Add ulong overload to IMessageChannel.DeleteMessagesAsync ( #649 )
8 years ago
AntiTcb
73611d1fab
Remove IUser.CreateDMChannelAsync, implicitly implement IUser.GetDMChannelAsync
8 years ago
AntiTcb
33a91ba3de
Remove redundant explicit interface definition.
8 years ago
AntiTcb
aeef5d0893
Update DM channel on entity updates.
8 years ago
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
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
RogueException
a306d83283
Added net45 TFM
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
cbb38bd101
Hide Entity.Discord property
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
d7928622f3
Guild presence should update global. Cleaned up.
8 years ago
RogueException
b1caec5f59
Add better support for invisible users
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
fd72583a75
Move guild presence updates to GuildMemberUpdated. Filter duplicate UserUpdated events.
8 years ago
RogueException
6798ba0d4b
Prevent duplicate incoming stream events on connect
8 years ago
RogueException
35e793fd9a
Leave voice channel on audioclient disconnect
8 years ago
RogueException
158ce0f922
Started adding IAudioClient incoming stream creation/destruction events
8 years ago
RogueException
bf0be82d15
Added IWebhookUser and MessageSource
8 years ago
RogueException
e7401eda68
Fixed internal nullref on voicestate change
8 years ago
RogueException
df129dd766
Actually populate SocketSimpleUser's fields
8 years ago
RogueException
20f7ba431f
Cleaned up and fixed several reorder issues.
8 years ago
RogueException
8d435e994b
Filter null roles in SocketGuildUser
8 years ago
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
8 years ago
RogueException
84b3d24175
Merge pull request #549 from Mushroom/reactions
Added support for reaction 'me' field
8 years ago
RogueException
711a4e90a4
Renamed AvatarFormat -> ImageFormat. Cleaned up.
8 years ago
RogueException
6dd2e0a708
Merge pull request #573 from james7132/auto-avatar
Automatic animated avatar detection
8 years ago
RogueException
254c83ecff
Started adding audio receive
8 years ago
RogueException
1d5b7a2b01
Removed Unknown status
8 years ago
james7132
bfc4fd686e
Automatic animated avatar detection
8 years ago
RogueException
cab41851ba
Prevent duplicate GuildUnavailables
8 years ago