Xua
f92dcc0820
Prevent premium_subscription_count being None
2019-10-17 20:25:45 -04:00
NCPlayz
dfcf9cdb0a
Rename error type for X.fetch_channel(s)
.
2019-06-12 00:47:42 -04:00
Rapptz
655aa39603
Fix reference typo in SystemChannelFlags
2019-06-09 00:38:46 -04:00
NCPlayz
126f4f8271
Implement Guild.get_all_premium_subscribers
2019-06-08 21:19:10 +01:00
Rapptz
c97b097f07
Document new Guild.features
2019-06-07 22:26:05 -04:00
NCPlayz
3c9bcc2851
Improve documentation
2019-06-07 19:27:46 -04:00
NCPlayz
f7c6c5995d
Implementing GET '/channels/:id' & '/guilds/:id/channels'
...
Signed-off-by: NCPlayz <chowdhurynadir0@outlook.com>
2019-06-07 19:12:59 -04:00
Rapptz
320dbc0618
Add support for system channel flags
2019-06-06 22:30:02 -04:00
Rapptz
fcf02414fe
Fix stray colon in Asset related docstrings
2019-06-04 19:06:31 -04:00
Rapptz
9674055c2a
Add support for animated guild icons.
2019-06-04 19:04:44 -04:00
Rapptz
a048815c60
Add Guild.premium_subscription_count
2019-06-04 18:30:46 -04:00
Rapptz
e40c68b75a
Add Guild.premium_tier and corresponding limits.
2019-06-04 18:30:46 -04:00
Rapptz
2cd6d771ec
Make __repr__ slightly more detailed and add a few missing ones.
...
This includes raw events (which didn't have any) and a few other
types that were missing them. Upon review some more useful fields were
added to the repr output which would be more useful during debugging.
2019-05-26 02:32:47 -04:00
Ehren Julien-Neitzert
fc5a2936dd
Fix pluralization errors in various files
...
* Replaced instances of 'return an' with 'returns an'
* fixed pluralization errors
2019-05-23 23:31:17 -04:00
Vexs
bf5b267c55
Correct the documentation for methods and properties that return Assets
2019-05-14 19:13:48 -04:00
DevilXD
b8e45afe9a
Fixed TextChannel edit method missing slowmode unit
2019-04-29 23:34:17 -04:00
Rapptz
30d87ca557
Add currently undocumented premium_tier field.
...
Needs more testing to find out what it is.
2019-04-20 13:49:13 -04:00
Rapptz
519f0c07ea
Add compute_prune_count to Guild.prune_members
...
Fix #2085
2019-04-14 17:33:57 -04:00
Vexs
4df0f79a6b
Add notes warning that fetch_ methods are api calls
...
Also recommends using cache attributes/methods instead
2019-04-10 00:55:45 -04:00
Rapptz
51c64a3b73
Fix documentation so Sphinx can build semi-cleanly.
2019-04-08 18:17:15 -04:00
khazhyk
52c45da0bc
simplify AuditLogIterator ordering
...
rename reverse to oldest_first and remove cases where messages would
be ordered differently from the order we fetch audit log entries,
similar to HistoryIterator
2019-04-07 22:46:41 -07:00
NCPlayz
1d701f32b6
Add fetch custom emoji, all custom emojis; Add user property to Emoji
2019-04-06 19:19:47 -04:00
NCPlayz
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
numbermaniac
77dd4e3de0
guild.py: change wording for create_role error
2019-03-24 13:33:15 +11:00
NCPlayz
a1caaf8dcf
Add Guild.max_presences and Guild.max_members
...
Fixes #1822
Fixes #1418
2019-03-22 20:25:03 -04:00
NCPlayz
8a30a4cac0
Add support for guild widget
2019-03-19 09:22:48 -04:00
NCPlayz
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
NCPlayz
fb02191b80
Organise documentation
2019-03-19 08:24:42 -04:00
Rapptz
5061915b2a
Add support for store channels.
2019-03-17 14:32:51 -04:00
Jeremy "EndenDragon" Zhang
682c0d962f
Consider news channel type as a TextChannel
2019-03-16 23:02:46 -04:00
Nadir Chowdhury
8f7ce7c64e
Add support for reading guild descriptions
...
Added `Guild.description` and `PartialInviteGuild.description`.
2019-03-13 21:24:16 -04:00
SnowyLuma
42a7c4f7e5
Add support for guild banners
...
Document banner attribute of Guild and Invite
Update discord/utils.py
Co-Authored-By: SnowyLuma <38926001+SnowyLuma@users.noreply.github.com>
2019-03-09 00:37:49 -05:00
Tarek1337
616616b847
Add support for guild descriptions
2019-03-08 21:45:43 -05:00
numbermaniac
5516b0b2c9
guild.py: change word in create_role's docstring
2019-03-08 19:59:20 -05:00
Rapptz
5d78f43e55
Expose more information from partial invites, along with counts.
...
This adds the following information.
* `PartialInviteGuild` to replace `Object` patching
* `PartialInviteChannel` to replace `Object` patching
* Invite.approximate_member_count and Invite.approximate_presence_count
The new partial objects provide better documentation on what is
expected when you fetch random invites.
Fixes #1830
2019-02-12 20:22:47 -05:00
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
2019-01-28 22:22:50 -05:00
Tyler
febb8a965c
Allow additional parameters on channel creation
2019-01-28 21:47:22 -05:00
Rapptz
b79a53cae4
Fix typo in exception message in Guild.edit
2018-12-17 22:33:07 -05:00
Rapptz
648e62031d
Add support for explicit_content_filter in Guild.edit
2018-12-17 18:04:32 -05:00
Rapptz
c7396dc8ac
Add support for mobile indicators and per-client statuses.
2018-12-14 20:57:21 -05:00
Rapptz
e6a8eb1a7c
Fix bug in Guild.splash_url
2018-11-26 02:04:01 -05:00
Rapptz
8b18fa307b
Add support for default notification level in audit logs and Guild.edit
2018-11-25 01:42:33 -05:00
Chris
1ac432d9f0
Add Guild.default_notifications
2018-11-24 23:05:26 -05:00
SnowyLuma
e89e7dfe93
Add support for multiple activities
2018-11-24 22:36:52 -05:00
Hornwitser
0e7b378151
[lint] Remove extra whitespace in guild.py
...
Remove trailing whitespace in guild.py introduced by 3727ea9.
2018-11-24 22:17:58 -05:00
Hornwitser
efb4ff850e
[lint] Fix import order
...
Reorder imports to be consistenly grouped by standard library, third
party library, and local modules in that order thoughout the library.
2018-11-24 22:17:58 -05:00
Matt (IPv4)
3727ea9811
Add Guild.splash_url_as
2018-10-11 02:38:52 -04:00
Rapptz
1da6962580
Fix up Guild.create_custom_emoji docstring.
2018-10-03 05:45:55 -04:00
MusicOnline
60d86b6c1a
Add note regarding MORE_EMOJI in Guild.create_custom_emoji
2018-10-03 14:42:04 +08:00
MusicOnline
2f84d05f0b
Correct Guild.create_custom_emoji documentation
2018-10-02 21:09:07 +08:00