Rapptz
a354ecfa89
[commands] Add Range converter
This allows hybrid commands to also have a range annotation
3 years ago
dolfies
cfe58eeb1f
Revert all voice receive changes
This won't be making its way into 2.0 and needs a ton of work. Now lint passes!
3 years ago
dolfies
8fcca3183a
Rebase to latest upstream
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
z03h
5d6905a1bc
Update clean_content/channel_mentions for threads
3 years ago
Rapptz
1192d842e1
Fix some type checker errors and remove some type ignores
Caught from an upgraded Pyright
3 years ago
ChrisJL
68dbf0f882
[commands] Fix message converter not inferring channel when missing
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
mysistersbrother
340f09a1c0
[commands] Update ScheduledEventConverter docs for clarity
Co-authored-by: Danny <[email protected] >
Co-authored-by: ashish <[email protected] >
3 years ago
z03h
93fba264ad
[commands] add ScheduledEvent converter
3 years ago
Aaron Hennessey
bf3eb0a7fe
[commands] Fix for _Bot Context generic in converters
3 years ago
Josh
39c5a4fdc3
Fix type-errors in commands extension
3 years ago
Josh
4dbe1af32f
Update sphinx and fix documentation issues
3 years ago
Vaskel
4e331704ae
[commands] Fix typing problems in commands.converter
3 years ago
Josh
61974411df
[commands] Fix issue in PartialMessageConverter._resolve channel
3 years ago
dolfies
4c2d9bc0d0
Give ext.commands some love
3 years ago
z03h
c628224403
[commands] Add GuildStickerConverter
4 years ago
Alex Nørgaard
26e68b31ef
[commands] fix incorrect typings in ThreadConverter
4 years ago
Nadir Chowdhury
e2624b9a31
[commands] Fix (Partial)MessageConverter to work with thread messages
4 years ago
Rapptz
1a4e73d599
[commands] Get guild_id from message link for message converters
4 years ago
z03h
1ca5b7b8b2
[commands] update clean_content to work when standalone
4 years ago
Alex Nørgaard
5a7cfb3ce6
[commands] Add ThreadConverter
4 years ago
Rapptz
ed6c061d69
[commands] Fix guild channel converters to work in DMs
Fix #7147
4 years ago
thetimtoy
3c2cf06e46
[commands] Add attr and parameter "argument" to BadInviteArgument
4 years ago
Rapptz
0bc5f276a7
[commands] Change EmojiConverter to use Client.get_emoji
4 years ago
Nadir Chowdhury
757cfad38f
Type up **kwargs of various methods
4 years ago
sudosnok
2a6d79078e
[commands] Add GuildChannelConverter
4 years ago
Josh
3864fb37a0
Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Rapptz
58274eafbc
[commands] Fix Generics causing other typing converters to fail
4 years ago
Rapptz
3b6a2b9e85
[commands] Fix Generic subcalsses used as a converter
4 years ago
jack1142
a55e817ffe
Fix documentation for RoleConverter
4 years ago
Rapptz
c54e43360b
[commands] Add run_converters helper to call converters
4 years ago
Nadir Chowdhury
5dec62f4c0
[commands] Add a converter for discord.Object
4 years ago
Nadir Chowdhury
d3ac191a67
Restrict snowflake regexes to 15-20 digits
4 years ago
Josh
c54c4cb215
[commands] Fix repr for Greedy
4 years ago
Nadir Chowdhury
353737239a
[commands] Minimise code duplication in channel converters
4 years ago
James
bcd3a00eaf
[commands] Make `commands.Greedy` a `typing.Generic`
4 years ago
Michael H
682b73abb6
[commands] Address incorrect use of subclass (from type perspective)
This is a follow up from #6641
4 years ago
Michael H
d0476e98df
[commands] Add more type information to public API of converters
4 years ago
Michael H
83bd76504a
Use covariant TypeVar for protocol
4 years ago
James
34ab772653
Use typing.Protocol instead of abc.ABCMeta
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Rapptz
421c0cd455
[commands] Add missing versionadded on StoreChannelConverter
4 years ago
DoggieLicc
36318bd45c
[commands] Add StoreChannelConverter
4 years ago
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods
4 years ago
Edwin
31ee3fafc1
Add remove_markdown helper function
4 years ago
Nihaal Sangha
a3f700c11f
Fix references to snowflakes being max 21 long
4 years ago
Rapptz
a0404807d5
[commands] Add support for rgb function in ColourConverter
This also adds support for 3 digit hex.
Fixes #6374
4 years ago
Alex Nørgaard
68eb844d48
[commands] Add discord.Guild converter and GuildNotFound error
* Add discord.Guild converter and GuildNotFound error
* note for lack of disambiguation in Guilds with duplicate names, and removed the possibility of returning None
* edited converter to use `utils.get` over `utils.find` and docs edited with Converter and Exception.
4 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago