3326 Commits

Author SHA1 Message Date
Josh
d001b9d0ee
[docs] Fix more references
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-07-01 07:48:37 -04:00
Rapptz
ed6c061d69 [commands] Fix guild channel converters to work in DMs
Fix #7147
2021-07-01 07:46:02 -04:00
Rapptz
12e3eba011 Add Select to the docs 2021-06-30 03:54:30 -04:00
Rapptz
c1f1c67eed Change timeout parameter in View.from_message to keyword only 2021-06-30 03:15:45 -04:00
Arnav Jindal
cd4b0904db
Change NamedTuple in __init__.py 2021-06-30 03:12:40 -04:00
Rapptz
d8075d5412 Add View.from_message to convert message components to a View 2021-06-30 03:06:51 -04:00
Rapptz
157caaec7c Add conversion routine for SelectMenu to ui.Select 2021-06-30 02:55:03 -04:00
Rapptz
62dad0f7bf Fix potential None access in various StageChannel properties 2021-06-30 01:31:57 -04:00
Rapptz
1aeec34f84 Typehint Member and various typing fixes 2021-06-30 01:28:35 -04:00
Rapptz
44d1d29708 Add explicit types to variables in Message types 2021-06-29 23:56:02 -04:00
Rapptz
ea1d423904 Check for None in VocalGuildChannel.voice_states 2021-06-29 23:16:39 -04:00
Rapptz
6f3b8072d6 Rework User.edit to have proper typing 2021-06-29 22:05:29 -04:00
Rapptz
2d7c709235 Rework Role.edit to not rely on previous role state 2021-06-29 22:02:16 -04:00
Rapptz
a372aadb2d Rework Member.edit to not use kwargs for better typing 2021-06-29 21:54:24 -04:00
Rapptz
53ef89c29f Use a property for StreamIntegration.expire_behavior alias 2021-06-29 21:46:19 -04:00
Rapptz
c6a69062a8 Rework StreamIntegration.edit to not rely on state 2021-06-29 21:45:06 -04:00
Rapptz
62b024803a Mock PartialTemplateState._get_guild as pass-through 2021-06-29 21:35:00 -04:00
Rapptz
b1a355394f Rework Template.edit to use MISSING sentinel 2021-06-29 21:33:57 -04:00
Josh
39a674ddee
Fix typing of ApplicationCommandInteractionDataOption 2021-06-29 21:29:24 -04:00
Nadir Chowdhury
abac04b759
Fix link buttons not being regarded as persistent 2021-06-29 20:03:50 -04:00
Nadir Chowdhury
7d0bd7ed20
add persistent view in on_ready to avoid loop issues 2021-06-29 20:02:55 -04:00
Josh
7601d6cec3
[typing] Type-hint client.py 2021-06-29 20:02:19 -04:00
Rapptz
7386a971f8 Add examples for how to use views 2021-06-29 04:19:12 -04:00
Rapptz
2beee8be14 Type hint channel.py 2021-06-29 03:37:52 -04:00
Rapptz
eda02c2e91 [types] VoiceChannel and StageChannel bitrate/user_limit is not null 2021-06-29 02:45:01 -04:00
Rapptz
485542c480 Fix typing linting error in threads 2021-06-29 02:26:07 -04:00
Rapptz
a2b10a08b9 Fix KeyError due to refactoring mistake in Overwrite handling 2021-06-28 23:51:56 -04:00
Rapptz
55c7de82d3 Type and format abc.py
There's still some stuff missing but this is a decent first pass
2021-06-28 23:36:20 -04:00
Rapptz
f9bccabac5 Make Asset.with_ functions positional only 2021-06-28 23:36:20 -04:00
Rapptz
d9adf4d35d Make Asset.replace only accept keyword arguments 2021-06-28 23:36:20 -04:00
Rapptz
f7d551953b Remove extraneous __slots__ assignments 2021-06-28 23:36:20 -04:00
Lilly Rose Berner
6b1d46a1ea
Set Message.guild from guild_id if unavailable through Message.channel 2021-06-28 19:03:59 -04:00
Rapptz
e96df33ce0 Dispatch thread_join when a thread is updated but not in cache 2021-06-28 18:56:28 -04:00
Rapptz
e3a66bcccc Fix property CSS to be more inline with everything else 2021-06-28 04:16:51 -04:00
Rapptz
039bb9f871 Move documentation CSS after CSS block 2021-06-28 03:44:22 -04:00
Rapptz
2ce44f7bd6 Add versionadded for format_dt 2021-06-28 03:36:16 -04:00
scrazzz
3c5c5fc274
Update documentation in voice_client.py 2021-06-28 03:10:33 -04:00
Rapptz
d1a2ee4620 Add discord.utils.format_dt helper function 2021-06-28 01:31:14 -04:00
Rapptz
a75cd93acc Fix Guild.vanity_invite causing an error when guild has it unset
FIx #7103
2021-06-28 01:03:46 -04:00
Josh
5acea453cc
Type-hint voice_client / player 2021-06-28 00:59:14 -04:00
Rapptz
cd6b453cb3 Typehint Activity 2021-06-28 00:56:28 -04:00
Rapptz
4566b64d77 Fix Activity and Spotify datetime being timezone naive 2021-06-28 00:37:16 -04:00
Rapptz
b1836c5577 Rework Message.edit implementation 2021-06-28 00:33:59 -04:00
RobotHanzo
75477b2995
Fix incorrect typehints in Guild.create_role 2021-06-28 00:05:40 -04:00
Izhar Ahmad
2cd2d1d3ee
[commands] Rename missing_perms to missing_permissions 2021-06-28 00:05:08 -04:00
Nadir Chowdhury
f7b0ed7b12
Add ButtonStyle.gray alias 2021-06-28 00:01:13 -04:00
Lilly Rose Berner
b59ec318c0
Fix Category.create_x_channel raising without overwrites 2021-06-28 00:00:51 -04:00
thegamecracks
6ce1c537d4
Localize Embed.timestamp during assignment 2021-06-28 00:00:17 -04:00
pikaninja
caa9512a8a
Make on_ready examples consistent 2021-06-27 23:59:17 -04:00
Aomi Vel
47e6a754e4
Add support for sending multiple embeds 2021-06-27 23:52:48 -04:00