174 Commits

Author SHA1 Message Date
Rapptz
0b93fa3a82 Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
2020-09-23 03:20:35 -04:00
Alex Nørgaard
5e4f3780ed
Add COMMUNITY to Guild.features 2020-09-04 08:42:54 -04:00
Rapptz
11f29890dc Fix bug with Guild.by_category not showing some channels
If categories come after a child channel in the dictionary mapping for
whatever reason, then the previous code would remove it from the
mapping and set it to []. This commit aims to fix this.
2020-08-22 17:18:48 -04:00
Jaime Garcia Jr
ab1c606ff2
Specify where to get max_members in documentation 2020-07-31 21:08:15 -04:00
Skezza
4a686e11ba Added exception documentation for Guild.create_voice_channel 2020-07-22 23:16:43 -04:00
Skezza
2552a268cb Add double backticks for some parameter mentions in the documentation. 2020-07-22 23:15:16 -04:00
jack1142
1ca257bb68 Add Guild.change_voice_state to control our voice state. 2020-07-22 23:13:29 -04:00
Skezza
c3bca7ec73
Documentation formatting 2020-06-30 23:32:00 -04:00
Skezza
e7500f738c
Fix typo with voice_client documentation 2020-06-30 07:17:33 -04:00
NCPlayz
ce03c62c6b [bugs] stop resolving Object for template/invite; remove dupe methods 2020-06-29 16:58:19 +01:00
Nadir Chowdhury
b68cbb7a42
Add support for bulk editing role positions 2020-06-28 14:52:32 -04:00
Nadir Chowdhury
a64006ee9b
Add support for integrations 2020-06-28 14:50:43 -04:00
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation (#5067) 2020-06-28 03:45:58 -04:00
Rapptz
f94b00cb48 Fix a KeyError for channels with no category in Guild.by_category 2020-06-27 05:27:47 -04:00
Rapptz
c01bf7cd56 Fix Guild.by_category not showing empty categories. 2020-06-27 04:06:49 -04:00
Tarek
4bdebcd339
Fix error raised when using the roles parameter. 2020-06-26 22:54:02 -04:00
Tarek
a972c95f12 Add user_ids fields for query_members 2020-05-29 23:24:07 -04:00
numbermaniac
0140e1ed6a Fix documentation string for guild.premium_subscription_count 2020-05-29 23:24:06 -04:00
Rapptz
1ee1b7feea Consistent usage of RST inline code within Guild.features references 2020-05-23 22:05:59 -04:00
NCPlayz
ed80ba6a5e Implement some missing attributes of Guild (and Guild.edit) 2020-05-23 22:04:02 -04:00
NCPlayz
40a4604604 use _channel_factory instead of manual checking in Guild._sync 2020-05-23 21:56:40 -04:00
iomintz
559c464d3b
fix HTTPException explanation in Guild.fetch_member docs 2020-05-06 11:27:17 -05:00
Xua
5107583c5d fix NotificationLevel being suppressed 2020-05-03 23:08:08 -04:00
unknown
b7c7c86a6b Add roles parameter for pruning members. 2020-05-03 15:39:52 -04:00
Rapptz
9f47d7f71c Fix cases where member_count is equal to 0
Fixes #4008, #4005
2020-04-16 23:30:59 -04:00
Arthur
ad87bfb395 Guild.owner may be None for very large guilds. 2020-04-14 03:24:46 -04:00
Jake Ward
c782ac3254 Update documentation on guild features to reflect Discord changes 2020-04-06 04:58:27 -04:00
Ilya Lukyanov
d2cc8aa459 Add position argument to Guild.create_category
This way we can specify category position upon creation
2020-04-04 03:15:47 -04:00
PredaaA
9941812241 Add "FEATURABLE" in guild features. 2020-04-04 01:12:23 -04:00
Rapptz
cbca33e44f Guard against the member data not being available in VOICE_STATE_UPDATE 2020-02-01 23:48:09 -05:00
Rapptz
3b8678da81 Use member data from VOICE_STATE_UPDATE if not found in cache 2020-02-01 23:40:25 -05:00
Harmon
6f9793fe5e Fixes and improvements for v1.3 documentation
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
2020-01-22 23:55:05 -05:00
Rapptz
02397306b2 Drop superfluous zero in version related changes in the documentation 2020-01-21 03:47:56 -05:00
Rapptz
6071607176 Bump copyright year to 2020
Closes #2510
2020-01-19 20:03:00 -05:00
Zomatree
1b4b6f8da2 updated the docs for Guild.vanity_invite 2020-01-14 22:07:38 -05:00
Rapptz
bfaf8ecfdb Allow Guild.fetch_members to take in limit=None
Fixes #2473
2020-01-12 02:44:16 -05:00
NCPlayz
9c6a121644 Implement discord.MessageFlags
Refactor flags placement and use it for suppression.
2019-12-20 20:56:40 -05:00
NCPlayz
a74bdaa8b2 Add Guild.discovery_splash_url/_as, Guild.rules_channel 2019-12-19 22:19:04 +00:00
Leaf ▲
ab3eab135f Removed MEMBER_LIST_DISABLED, added PUBLIC_DISABLED 2019-12-17 00:15:16 -05:00
Rapptz
924398c1ac Trailing whitespace in documentation. 2019-11-20 01:43:01 -05:00
Xua
f912758a1f Prevent premium_subscription_count being None 2019-10-17 05:56:01 -04:00
Io Mintz
2a0766795f Make Guild.default_role use get_role.
Prevents some stale caching by using the new O(1) Guild.get_role.
2019-10-17 05:56:01 -04:00
Capn
b63f4f7032 Add MEMBER_LIST_DISABLED to docs for Guild.features 2019-10-17 05:56:01 -04:00
Evan
e67c260f3e
The LURKABLE feature has been renamed to PUBLIC 2019-09-21 18:43:52 +02:00
Dimbreath
b4358d0dcf [docs] You can upload gifs using guild.edit()
Only if it has ANIMATED_ICON feature.
2019-09-10 21:10:59 -04:00
Rapptz
18fe2035ef Document that the cache retrieval functions require an int ID.
Closes #2285
2019-07-23 04:01:14 -04:00
Rapptz
5b2f630848 Add Guild.query_members to fetch members from the gateway. 2019-07-15 07:56:48 -04:00
Rapptz
edcd9459e3 Use Guild.owner_id in Guild.edit when checking if the bot owns a guild. 2019-07-10 14:39:12 -04:00
Rapptz
203d702d46 Add unused Guild.preferred_locale 2019-06-29 20:17:18 -04:00
NCPlayz
5698cf6df9 Implement Guild.fetch_roles 2019-06-29 19:14:22 -04:00