Commit Graph

807 Commits

Author SHA1 Message Date
6e6d16093c Update extensions primer in line with async breaking changes 2022-04-18 06:26:50 -04:00
89b9f1616c Add self_deaf and self_mute params to voice connect methods 2022-04-14 19:06:22 -04:00
e9ff6b4be8 [commands] Fix broken documentation references 2022-04-13 18:49:39 -04:00
141d9f4c71 [commands] Add ForumChannelConverter converter 2022-04-13 17:44:03 -04:00
896932faf1 [commands] Add Range converter
This allows hybrid commands to also have a range annotation
2022-04-12 20:15:11 -04:00
840eb577d4 [commands] Add initial implementation of hybrid commands
Hybrid commands allow a regular command to also double as a slash
command, assuming it meets the subset required to function.
2022-04-12 20:15:10 -04:00
23f6876492 Add initial support for forum channels
Closes #7652
2022-04-06 23:02:58 -04:00
76cc2c2272 Require passing intents to Client and its subclasses 2022-04-05 22:32:14 -04:00
dbcdf69eb1 [commands] Raise appropriate exception for no guild found 2022-04-04 21:49:11 -04:00
55c5be78cf [commands] Implement commands.parameter 2022-04-04 18:01:21 -04:00
deb7958797 Add new on_thread_create event 2022-04-04 07:22:21 -04:00
b1878224f2 Fix capitalizations and typo in migrating guide 2022-04-02 01:26:39 -04:00
26ac844a04 Fix typo in migrating guide for Client.on_error 2022-04-02 00:06:39 -04:00
f47568ee71 Document Guild.bans breaking change in the migrating guide 2022-04-01 11:47:27 -04:00
e79895d824 Add Message.interaction and MessageInteraction type
Fix #7819
2022-04-01 11:15:15 -04:00
24f8f8d4a7 Rename MaxCommandsReached to CommandLimitReached 2022-03-31 23:10:13 -04:00
34b2ff40b6 Change ValueError on max commands reached to a more specific exception 2022-03-31 09:34:48 -04:00
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
37bbfdce95 Add context_menu_command Message type 2022-03-30 19:13:00 -04:00
9f83eb6032 Add application command cooldown decorators
Fix #7790
2022-03-29 00:46:42 -04:00
74b5e0ceb1 Implement some built in checks for app_commands
A lot of these implementations are adapted from the equivalent
ext.commands checks. These only implement the common ones that could
not solely be done by Discord in the future.
2022-03-28 16:36:29 -04:00
c6d0c82d66 Implement app_commands.rename decorator 2022-03-28 05:52:33 -04:00
def035bf9a Remove StoreChannel and any references to it 2022-03-28 00:09:19 -04:00
daeb0afe61 Add missing space in task example 2022-03-27 22:27:10 -04:00
8993b7f5fe Add cover_image to AuditLogDiff 2022-03-26 08:48:02 -04:00
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
7851084b63 Revert "Crowdin translations download"
This reverts commit 414759f372.
2022-03-21 22:53:45 -04:00
414759f372 Crowdin translations download
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-21 16:47:15 -04:00
97fe07edb2 Update migration guide with change to Message.channel_mentions type 2022-03-21 01:12:34 -04:00
5202956f97 Update migration guide with loop-related changes to Client's constructor 2022-03-21 01:12:20 -04:00
5fa32540a4 Change Message to subclass PartialMessage 2022-03-20 15:18:24 -04:00
bea6b815e2 Add support for app command checks
This does not include any built-in checks due to design considerations.
2022-03-19 01:24:53 -04:00
70470753cd Update images in bot creation guide 2022-03-17 07:27:56 -04:00
fd5dea4e34 Update Permissions.stage_moderator 2022-03-15 23:33:11 -04:00
c28c3f4440 Keep comments consistent with other before/after comments 2022-03-15 07:25:35 -04:00
6cf7c4a7d7 Add message content to doc examples
This also changes the wording of Context's attributes 
for consistency.
2022-03-14 21:01:48 -04:00
a4676804ec Show inherited members in InteractionMessage 2022-03-14 02:21:05 -04:00
c6ab67420e Remove Embed.Empty in favour of None 2022-03-14 00:52:55 -04:00
f63070c071 Move migrating to v1 into a new separate file 2022-03-13 21:55:07 -04:00
a1c618215e [commads] Change cog/extension load/unload methods to be async 2022-03-13 21:03:45 -04:00
049df7c586 Add a note to users that they must have the message content intent
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-03-13 07:48:41 -04:00
196db33e9f [docs] fix typo in sticker_create docs 2022-03-13 01:19:14 -05:00
124a3ee42a Add Widget.presence_count attribute and fix Widget types 2022-03-11 21:51:40 -05:00
206c340252 Fix versionadded in UserFlags.spammer
Fixes #7643
2022-03-11 10:28:41 -05:00
03687fb616 Change Guild.member_count to Optional[int] 2022-03-09 23:06:07 -05:00
56e0c1b3d7 Fix typo in applications.commands scope 2022-03-09 20:26:53 -05:00
432de92e8a Update translations, add Crowdin CLI config 2022-03-09 20:07:48 -05:00
93fba264ad [commands] add ScheduledEvent converter 2022-03-09 17:56:50 -05:00
5569b6e1f8 Remove outdated note in FAQ 2022-03-08 23:48:35 -05:00
68b0759637 Add sidebar search and support for search bar middle clicking 2022-03-08 21:26:12 -05:00