Commit Graph

428 Commits

Author SHA1 Message Date
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
ff67c0d9c3 Removed unused canceltoken 2017-04-19 14:49:04 -03:00
Confruggy
5dba95fe59 Update ChannelHelper.cs (#606)
* Update ChannelHelper.cs

* typo
2017-04-15 19:04:07 -03:00
Christopher F
660d4b0bf6 Add an upper limit to prune length when banning a user (#611)
Messages may only be pruned between 0 and 7 days, otherwise a 400 will be thrown.
2017-04-15 19:03:19 -03:00
RogueException
1d57d0cba6 Add support for invites without attached users 2017-04-08 02:50:19 -03:00
RogueException
284af7b6e2 Support large DeleteMessages collections 2017-04-07 05:49:14 -03:00
RogueException
cbb38bd101 Hide Entity.Discord property 2017-04-06 20:30:11 -03:00
RogueException
d6b6a95a2e Renamed ClientAPIUrl -> APIUrl 2017-04-03 02:59:11 -03:00
RogueException
e0e28c6dd1 Changed EmbedChannel's type to GuildChannel 2017-04-01 21:49:34 -03:00
RogueException
aae2667fed Keep tags sorted when adding everyone/here mentions 2017-04-01 21:47:04 -03:00
RogueException
a7f50e7f59 Added EmbedBuilder field helpers 2017-04-01 18:19:50 -03:00
RogueException
fd72583a75 Move guild presence updates to GuildMemberUpdated. Filter duplicate UserUpdated events. 2017-04-01 15:05:51 -03:00
RogueException
b5d817f171 Cleaned up csprojs, added support for tag builds. 2017-04-01 11:11:09 -03:00
RogueException
8dfa0220c3 Prevent overlapping tags 2017-03-31 15:19:13 -03:00
RogueException
7d1cae8ae8 Fixed tag parsing with incomplete tags 2017-03-31 14:34:10 -03:00
RogueException
57013d5639 Don't crash if a rate limit header is unparsable 2017-03-31 13:34:03 -03:00
RogueException
158ce0f922 Started adding IAudioClient incoming stream creation/destruction events 2017-03-31 03:59:12 -03:00
RogueException
5e94b97024 Added RequestOptions to RestClient methods. Added guild summary paging. 2017-03-31 03:01:49 -03:00
RogueException
5aa92f8954 Reset position when uploading file from temp stream 2017-03-31 01:47:42 -03:00
RogueException
bf0be82d15 Added IWebhookUser and MessageSource 2017-03-30 23:29:30 -03:00
RogueException
35d7a0cec8 Ensure UploadFile is always a seekable stream. 2017-03-22 06:08:58 -03:00
RogueException
20f7ba431f Cleaned up and fixed several reorder issues. 2017-03-20 23:48:41 -03:00
Christopher F
83bd16f329 Don't attempt to convert Embed entities to models if the entity is null
Allows null embeds to be passed into ModifyAsync
2017-03-18 20:36:06 -04:00
Confruggy
fbd34d6719 Update MessageHelper.cs (#508) 2017-03-18 08:57:56 -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
683541ba24 Added RequireOwner support for User tokens 2017-03-18 08:38:24 -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
cc11d667e3 Merge pull request #574 from Sentinent/get-userreactions-fix
Fixed GetReactionsUsersAsync returning an empty enumerable
2017-03-18 08:22:48 -03:00
RogueException
587ec65e79 Added Discord.Net.Webhook 2017-03-16 05:35:01 -03:00
RogueException
1d5b7a2b01 Removed Unknown status 2017-03-15 23:40:25 -03:00
Sentinent
58d9fb1ed6 Fixed GetReactionsUsersAsync returning an empty enumerable 2017-03-14 21:46:14 -07:00
james7132
bfc4fd686e Automatic animated avatar detection 2017-03-15 00:33:07 +00: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
RogueException
1cd67c2467 Allow EmbedFieldBuilder to take object values 2017-03-02 06:00:13 -04:00
RogueException
34361fa64a Merge pull request #537 from RogueException/issue/477
Check that messages older than two weeks are not passed to bulk delete
2017-03-01 18:19:43 -04:00
Christopher F
66b7e0e7f0 Rename precondition to 'YoungerThanTwoWeeks' 2017-03-01 17:16:06 -05: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
RogueException
d321ad3e5c Moved Frame models, added default providers 2017-02-25 16:07:22 -04:00
Christopher F
607f478b9a Check that messages older than two weeks are not passed to bulk delete
This resolves #477
2017-02-23 17:39:10 -05: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
Emzi0767
9c3f858b42 Fixed couple non-default arguments in REST messages 2017-02-13 22:22:06 +01:00