Commit Graph
22 Commits
Author SHA1 Message Date
NCPlayzandRapptz 5698cf6df9 Implement Guild.fetch_roles 2019-06-29 19:14:22 -04:00
NCPlayzandRapptz 851f83c821 Implement Guild.fetch_members
Also implements `MemberIterator`.
2019-06-29 19:14:19 -04:00
NCPlayzandRapptz dfcf9cdb0a Rename error type for X.fetch_channel(s). 2019-06-12 00:47:42 -04:00
NCPlayz 126f4f8271 Implement Guild.get_all_premium_subscribers 2019-06-08 21:19:10 +01:00
NCPlayzandRapptz 3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
NCPlayzandRapptz 2f05436653 Added comment for/redo system information 2019-06-07 19:23:44 -04:00
NCPlayzandRapptz f7c6c5995d Implementing GET '/channels/:id' & '/guilds/:id/channels'
Signed-off-by: NCPlayz <chowdhurynadir0@outlook.com>
2019-06-07 19:12:59 -04:00
NCPlayzandRapptz 38eb2b4828 Validate kwargs in Client.start 2019-05-19 19:17:27 -04:00
NCPlayzandRapptz 25d9337481 Document remaining public enums.
- UserContentFilter
- FriendFlags
- PremiumType
- Theme

UserFlags is not documented as though it is only used internally.
2019-05-09 06:11:19 -04:00
NCPlayzandRapptz 84e86ff666 Add Permissions.stream
Add stream to Permissions classmethods
2019-04-12 20:58:11 -04:00
NCPlayzandRapptz 7acb7de195 Add notes stating what Guild.fetch_guild and Guild.fetch_guilds returns
Also fixed two typos.
2019-04-08 18:17:40 -04:00
NCPlayzandRapptz 1d701f32b6 Add fetch custom emoji, all custom emojis; Add user property to Emoji 2019-04-06 19:19:47 -04:00
NCPlayzandRapptz be227ebcf0 Redesign asset retrieval in the library.
Most assets now return a new class named `Asset`. This allows for the
assets to be consistently saved via a `save` method instead of special
casing for `Attachment`.

`AppInfo` is no longer a namedtuple it is a fully documented dataclass,
as well as having the state attached to it.

Fixes #1997
2019-04-06 19:12:50 -04:00
NCPlayzandRapptz a1caaf8dcf Add Guild.max_presences and Guild.max_members
Fixes #1822
Fixes #1418
2019-03-22 20:25:03 -04:00
NCPlayzandRapptz 8a30a4cac0 Add support for guild widget 2019-03-19 09:22:48 -04:00
NCPlayzandRapptz f507f508a2 Expose Metadata
Added access to:
* `/users/@me/guilds`
* `/guilds/{guild_id}`
* `/guilds/{guild_id}/members/{member_id}`

BREAKING CHANGE:
* `get_user_info` -> `fetch_user_info` to match naming scheme.

Remove useless note

Remove `reverse` and corresponding documentation

Update documentation to reflect #1988

Rename `get_` HTTP functions to `fetch_`

Breaking Changes:
* `get_message` -> `fetch_message`
* `get_invite` -> `fetch_invite`
* `get_user_profile` -> `fetch_user_profile`
* `get_webhook_info` -> `fetch_webhook`
* `get_ban` -> `fetch_ban`

Fix InviteConverter, update migrating.rst

Rename get_message to fetch_message
2019-03-19 09:00:18 -04:00
NCPlayzandRapptz fb02191b80 Organise documentation 2019-03-19 08:24:42 -04:00
Nadir ChowdhuryandDanny 8f7ce7c64e Add support for reading guild descriptions
Added `Guild.description` and `PartialInviteGuild.description`.
2019-03-13 21:24:16 -04:00
Nadir ChowdhuryandDanny e18fed6310 Fix imports
Removed unnecessary Object import.
Added `snowflake_time` and `InvalidArgument`
2019-03-13 21:22:40 -04:00
Nadir ChowdhuryandDanny 999ac0a0e3 Add Category.create_text_channel/Category.create_voice_channel (#1976)
Fixes #1971
2019-03-12 08:16:25 -04:00
NCPlayz 8b8e9a619e Moved http.close to before _closed.set 2019-03-09 14:09:47 +00:00
NCPlayzandRapptz 11a0098269 Add new cog methods
Added two new arguments to the parser, and updated defunct cog code.

Remove debug

remove print statement
2019-02-26 08:41:00 -05:00