85 Commits

Author SHA1 Message Date
Vaskel
89b9f1616c
Add self_deaf and self_mute params to voice connect methods 2022-04-14 19:06:22 -04:00
Rapptz
76cc2c2272 Require passing intents to Client and its subclasses 2022-04-05 22:32:14 -04:00
James Hilton-Balfe
55c5be78cf
[commands] Implement commands.parameter 2022-04-04 18:01:21 -04:00
will
b1878224f2
Fix capitalizations and typo in migrating guide 2022-04-02 01:26:39 -04:00
Chrovo
26ac844a04
Fix typo in migrating guide for Client.on_error 2022-04-02 00:06:39 -04:00
Rapptz
f47568ee71 Document Guild.bans breaking change in the migrating guide 2022-04-01 11:47:27 -04:00
Josh
c11363f037
Rework File.spoiler to synchronise with the filename
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-03-31 09:18:36 -04:00
Rapptz
def035bf9a Remove StoreChannel and any references to it 2022-03-28 00:09:19 -04:00
Bryan Forbes
062f4d6f87
Change some methods to use positional-only marker
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-03-22 18:52:25 -04:00
jack1142
97fe07edb2
Update migration guide with change to Message.channel_mentions type 2022-03-21 01:12:34 -04:00
jack1142
5202956f97
Update migration guide with loop-related changes to Client's constructor 2022-03-21 01:12:20 -04:00
Stocker
fd5dea4e34
Update Permissions.stage_moderator 2022-03-15 23:33:11 -04:00
LightSage
c28c3f4440
Keep comments consistent with other before/after comments 2022-03-15 07:25:35 -04:00
Rapptz
c6ab67420e Remove Embed.Empty in favour of None 2022-03-14 00:52:55 -04:00
Rapptz
f63070c071 Move migrating to v1 into a new separate file 2022-03-13 21:55:07 -04:00
Josh
a1c618215e
[commads] Change cog/extension load/unload methods to be async 2022-03-13 21:03:45 -04:00
metro
124a3ee42a
Add Widget.presence_count attribute and fix Widget types 2022-03-11 21:51:40 -05:00
Alex Nørgaard
03687fb616
Change Guild.member_count to Optional[int] 2022-03-09 23:06:07 -05:00
Rapptz
56e0c1b3d7 Fix typo in applications.commands scope 2022-03-09 20:26:53 -05:00
Rapptz
8213603822 Change default oauth_url scopes to include application.commands 2022-03-07 18:35:42 -05:00
apple502j
e0d3521d16
[docs] Fix typos 2022-03-07 17:36:15 -05:00
apple502j
6682396a70
[docs] add missing migration guide contents 2022-03-07 17:08:46 -05:00
jack1142
3dd99a7697
Fix broken ref in migrating guide 2022-03-06 18:52:46 -05:00
James Hilton-Balfe
01906f37f1
Remove NoMoreItems 2022-03-06 18:44:18 -05:00
Stocker
07a1311bf4
Change Guild.preferred_locale to use the Locale enum 2022-03-05 23:30:51 -05:00
jack1142
1c4dca431d
Add migration guide
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Co-authored-by: Rapptz <rapptz@gmail.com>
2022-03-05 19:17:16 -05:00
Rapptz
aa74238053 Reorganise documentation for interactions 2022-03-04 21:17:27 -05:00
Tarek
f2fa613057
Fix minor markdown typo in migrating.rst 2020-06-04 23:40:16 -04:00
NCPlayz
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
Rapptz
c3bad4eeab Make context documentation in migration a bit more clear. 2019-04-18 19:49:57 -04:00
khazhyk
b1fae0861a add read-only cached_messages property to Client
For those of us who want access to this sweet trove of zero hop messages
2019-04-17 22:41:59 -04:00
Rapptz
d48a424f6f Fix mistake in documentation. 2019-03-20 23:29:04 -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
Rapptz
3527203e07 [commands] Redesign HelpFormatter into HelpCommand
Part of #1938
2019-03-15 05:54:23 -04:00
Rapptz
a8dd4a826f Document listener changes in the migrating docs. 2019-02-23 04:26:03 -05:00
Rapptz
caf3d17d4a Rework entire cog system and partially document it and extensions. 2019-02-23 04:10:10 -05:00
SnowyLuma
e89e7dfe93 Add support for multiple activities 2018-11-24 22:36:52 -05:00
Rapptz
3d03dbc451 Change internal role storage in Guild to a dict instead of a list.
This adds the following APIs:

* Guild.get_role

This removes the following APIs:

* Guild.role_hierarchy

To compensate for the removed APIs, Guild.roles is now a sorted list
based on hierarchy. The first element will always be the @everyone
role.

This speeds up access at the cost of some memory, theoretically.
2018-09-24 21:08:48 -04:00
Ben Mintz
184c4302c7 docs/mimgrating.rst: CPython 3.5.2 is not supported!
The minimum version supported by aiohttp is CPython 3.5.3, not 3.5.2.
Fixes #1344.
2018-06-21 07:44:02 -04:00
Rapptz
f25091efe1 Drop support for Python 3.4 and make minimum version 3.5.2. 2018-06-10 18:10:00 -04:00
Rapptz
857e30c68e Add some documentation for the Game to Activity breaking change. 2018-03-06 01:21:25 -05:00
Rapptz
4fef6fc4b0 Fix minor typo in migrating documentation. 2018-01-22 17:34:46 -05:00
Tobotimus
3112e1c17e Add intersphinx 2018-01-06 17:23:59 -05:00
Rapptz
53b4890435 Add category support.
This adds:

* CategoryChannel, which represents a category
* Guild.by_category() which traverses the channels grouping by category
* Guild.categories to get a list of categories
* abc.GuildChannel.category to get the category a channel belongs to
* sync_permissions keyword argument to abc.GuildChannel.edit to sync
  permissions with a pre-existing or new category
* category keyword argument to abc.GuildChannel.edit to move a channel
  to a category
2017-09-13 09:44:36 -04:00
Nick
4db76c6c6b Switched places of user and reaction in wait_for example 2017-08-31 18:07:12 -04:00
Gorialis
80586cb081 Minor fixes in migrating doc 2017-08-16 07:09:06 -04:00
Rapptz
434d6dc347 Fix extraneous parentheses in Client.emojis render in migrating docs. 2017-08-12 18:41:21 -04:00
SinisterRectus
8acf3d01ce Remove GuildChannel.is_default 2017-08-08 17:31:09 -04:00
Rapptz
e493f1f2f4 Remove Guild.create_invite too since it relies on a default channel. 2017-07-31 21:39:48 -04:00
Rapptz
3dc1195637 Remove Guild.default_channel
The concept no longer exists.
2017-07-31 21:32:12 -04:00