Mateusz Brawański
b4bf046ad4
Implemented emoji endpoints ( #835 )
* Implemented emoji endpoints.
* Fixed: now using API entities for REST client.
* Removed emoji listing endpoint, as per @foxbot's request.
8 years ago
Christopher F
9979a027d5
Change default InviteAge to 24 hours
Resolves #859
8 years ago
enzosk8
da335b95c4
Fix general typos ( #852 )
8 years ago
Alex Gravely
e00f17fe55
Move DeleteMessagesAsync from IMessageChannel to ITextChannel ( #829 )
8 years ago
Christopher F
347c5a0d39
Disable obsolete warnings in files that reference TokenType.User
8 years ago
Chris Johnston
f8108871d6
Typo fix for SocketGuildUser.Hierarchy description ( #831 )
8 years ago
Chris Johnston
30e867a183
Implement welcome message channels ( #819 )
8 years ago
Alex Gravely
ec03883e26
Create unspecified channel object for unknown channel types ( #811 )
* Partial fix of #810 , addresses critical connection issues.
* Implement fix for REST.
* Implement fix on RestChannel.
8 years ago
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