Commit Graph

13 Commits

Author SHA1 Message Date
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
d6b6a95a2e Renamed ClientAPIUrl -> APIUrl 2017-04-03 02:59:11 -03:00
RogueException
5e94b97024 Added RequestOptions to RestClient methods. Added guild summary paging. 2017-03-31 03:01:49 -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
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
587ec65e79 Added Discord.Net.Webhook 2017-03-16 05:35:01 -03:00
Christopher F
66b7e0e7f0 Rename precondition to 'YoungerThanTwoWeeks' 2017-03-01 17:16:06 -05: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
RogueException
b91026f552 Stop spamming users/@me and voice/regions 2017-01-28 17:04:35 -04:00
RogueException
b76c744447 Internally exposed several ApiClient props 2017-01-24 11:38:53 -04:00
RogueException
e2934abe29 Made API models internal. Removed Discord.Net.API. 2017-01-01 23:28:42 -04:00
RogueException
8326d01f62 Isolated API definitions to their own library 2016-12-23 16:57:29 -04:00