Commit Graph
11 Commits
Author SHA1 Message Date
Michael HandGitHub 682b73abb6 [commands] Address incorrect use of subclass (from type perspective)
This is a follow up from #6641
2021-04-05 21:39:17 -04:00
Michael HandGitHub d0476e98df [commands] Add more type information to public API of converters 2021-04-05 21:31:28 -04:00
Michael HandGitHub 83bd76504a Use covariant TypeVar for protocol 2021-04-05 20:29:15 -04:00
Michael HandGitHub fbe6e2f520 [commands] Fix @classmethod converters 2021-04-05 20:25:23 -04:00
Michael HandGitHub 08d45cc2ab Update docs to be clearer about discord limitations 2021-02-17 07:33:17 -05:00
Michael HandGitHub 7bef78284f Removes the caching behavior of Member.roles
- fixes 4087
- This intentionally uses some internals in both Member.roles and
Member.top_role to retain as much performance as possible while
removing the cache
2020-06-04 23:38:11 -04:00
Michael HandRapptz 6cdda4a320 Patch clean_prefix for new text editor
The new editor seems to force mentions to have ! even without a nick.
2020-01-14 19:39:34 -05:00
Michael H 6794bdaac5 Use discord.utils.escape_mentions as last step of
discord.Message.clean_content
2019-12-25 04:13:10 -05:00
Michael H 03616b91db Fix embed to_dict timestamp handling for python 3.5
resolves #1992
2019-03-17 09:17:14 -04:00
Michael HandRapptz f45aef7c2e Handle implicit perms in discord.VoiceChannel.permissions_for
This adds some implicit permission handling for `discord.VoiceChannel.permissions_for`

This is not documented behavior in discord's developer documentation, but it can easily be verified as correct.
2018-12-14 18:59:46 -05:00
Michael HandRapptz 39cb5f30b4 [commands] Handle nick mentions in HelpFormatter
Modifies the help formatter to handle nicknamed bot users for
mentions in clean_prefix
2018-08-22 21:06:09 -04:00