Rapptz
406495b465
Use a sequence instead of a list for AllowedMentions
2022-07-23 01:26:59 -04:00
z03h
8d86ee3fe3
Fix mention_author suppressing all mentions
2022-03-18 01:52:11 -04:00
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
...
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Co-authored-by: Josh <josh.ja.butt@gmail.com>
2022-03-13 23:52:10 -04:00
Josh
147948af9b
Use typing.Self throughout library
2022-03-01 07:53:24 -05:00
Rapptz
88b520b5ab
Reformat code using black
...
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
2022-02-20 08:04:58 -05:00
Rapptz
5a68d3a561
Typehint AllowedMentions
2021-05-29 04:26:21 -04:00
Rapptz
99fc950510
Use f-strings in more places that were missed.
2021-04-08 06:02:47 -04:00
Nadir Chowdhury
89456022cf
Add __all__
to remaining modules
2021-04-07 02:30:32 -04:00
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`.
2021-04-04 07:03:53 -04:00
Nihaal Sangha
69bdc3a184
Change copyright year to present
2021-01-15 05:28:11 -05:00
PikalaxALT
d1cb30cccf
Implement discord.Message.reply
2020-11-26 23:19:00 -05:00
Saphielle Akiyama
33fb13043c
Classmethods all and none for AllowedMentions
2020-09-04 08:43:44 -04:00
sinus-x
315edd0b60
Fix letter to be consistent with the rest of the docs
2020-08-22 16:25:44 -04:00
io mintz
b15571455f
implement AllowedMentions.__repr__
2020-05-29 23:19:36 -04:00
Rapptz
041785937e
Add support for configuring allowed mentions per message or bot wide.
2020-04-04 07:40:51 -04:00