cbff6ddef9
Add support for user collectibles
2025-08-26 03:34:18 -04:00
7724764ffe
Add ability to use primary guild (clan) data for users
...
Co-authored-by: blord0 <admin@blord.xyz >
Co-authored-by: DA344 <108473820+DA-344@users.noreply.github.com >
Co-authored-by: dolfies <jeyalfie47@gmail.com >
2025-07-17 20:41:30 -04:00
774b934f74
Add support for guest invites
2025-07-02 18:59:40 -04:00
8953938a53
Update Pyright to v1.1.394
2025-02-18 03:29:09 -05:00
4c3ce8fb85
Fix Member.roles having None members
...
Signed-off-by: Depreca1ed <70801324+Depreca1ed@users.noreply.github.com >
2025-02-12 05:43:54 -05:00
418a7915e6
Add raw presence update evemt
2025-01-21 04:49:50 -05:00
1edec93ed3
Update Member.timed_out_until docstring
2025-01-15 18:59:09 -05:00
7db879b5bd
Clear up add_roles and remove_roles documentation
...
Using "member" here can mislead a reader into believing this
restriction is referring to the member being edited rather than the
client/bot that is executing the edit.
2024-11-09 06:20:01 -05:00
62e52803a7
Add support Member.fetch_voice
2024-08-28 16:36:22 -04:00
86dd29a8e8
Properly copy banner information on updates
2024-07-16 03:03:50 -04:00
a13fc8f835
Add support for guild_banner and display_banner
2024-07-15 20:24:35 -04:00
2e2f51fd5c
First pass at supporting user apps
...
Co-authored-by: red <red@kalab.sk >
Co-authored-by: Vioshim <63890837+Vioshim@users.noreply.github.com >
2024-05-04 23:25:01 -04:00
e25b7ff3f8
Support for avatar decorations
...
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com >
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com >
2024-01-26 20:12:07 -05:00
67ae85aa22
Fix typos in Forbidden descriptions for Member methods
2023-10-25 19:25:29 -04:00
8d583ea71b
Update discriminator again for user_update events
2023-05-19 20:59:19 -04:00
8d17aa23c9
Remove @ prefix from usernames
...
Discord seemed to have backtracked on this display
2023-05-19 20:59:19 -04:00
9ebc13e160
Only use @ prefix in __str__ if the user is migrated
2023-05-19 20:59:19 -04:00
df01db3490
Initial support for pomelo migration
2023-05-19 20:59:19 -04:00
caf0fbdc1b
Correct permission for bypass_verification field in Member.edit
2023-02-13 06:26:32 -05:00
c46f309c13
Add support for member flags
2023-01-25 11:12:31 -05:00
c30a2f3ca0
Refactor certain f-strings and literals
2022-10-02 17:50:56 -04:00
ce06beeb6c
Fix permissions-based docstrings to be more consistent
2022-09-17 14:07:39 -04:00
6981eb69c4
Normalize type formatting in TypeError
...
Normalize most mixed usages of `__class__`, `__class__!r`,
`__class__.__name__!r` to the standard form of
`__class__.__name__`
2022-09-12 15:25:55 -04:00
e57617e157
Add support for delete_message_seconds ban argument
2022-08-28 02:06:57 -04:00
5c7f6dd37e
Clarify when None is returned from Member.edit
2022-08-18 09:52:28 -04:00
3ee18e4c5d
Use a TypeVar for flatten_user to workaround Pyright bug
2022-07-25 21:18:52 -04:00
2b3cc8fe10
Add Member.display_icon to get the rendered member icon
2022-04-18 17:26:30 -04:00
bc91e1667f
Fix typo in Member.timeout docs
2022-04-06 22:11:54 -04:00
0263774e13
Remove the use of ! in the Member.mention property
2022-04-06 01:05:37 -04:00
a5f1c2f592
Take into consideration member timeouts in permission calculations
2022-04-01 09:32:54 -04:00
5096846c4e
Allow None to be passed for Member.timeout
2022-04-01 00:09:02 -04:00
06c257760b
Update types to use Awaitable where possible
2022-03-30 22:00:24 -04:00
4fd2d5fdfd
Remove redundant imports and variables
2022-03-29 02:50:34 -04:00
dd3536be63
Fix typo in Member.edit documentation
2022-03-26 21:21:15 -04:00
5f7c5abe0a
Change ban type hints to use int instead of Literal
2022-03-18 21:45:15 -04:00
e01d4a31eb
Replace invariant container types with wider types where applicable
2022-03-17 07:26:01 -04:00
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
f4ca36ec5a
Add Member.timeout helper method
2022-03-10 21:32:33 -05:00
483ffeacd4
Inject state into PartialEmoji in Activity
2022-03-10 20:56:20 -05:00
8825bf922f
Fix Member.move_to typehint and docstring
2022-03-09 07:41:51 -05:00
aa6fb54e99
Raise ClientException in Member.request_to_speak
2022-03-07 04:10:11 -05:00
85b6175137
Create ClientStatus type to improve Member memory usage
2022-03-05 23:26:55 -05:00
f80f81c395
Add Member.resolved_permissions attribute for interaction members
2022-03-02 01:39:39 -05:00
147948af9b
Use typing.Self throughout library
2022-03-01 07:53:24 -05:00
285069de08
Fix types in guild.py
2022-02-22 04:00:46 -05:00
3cf000d467
Type up gateway payloads
2022-02-21 22:09:40 -05:00
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
a1dbc0ca27
Add member timeouts and relevant permissions
2022-02-18 03:24:28 -05:00
efec816de2
Make arguments positional only in 2 get methods
...
- Member.get_role
- Guild.get_member
2021-08-25 20:52:20 -04:00
848d752388
Change User.avatar to be Optional[Asset] instead of Asset
...
This change was needed to allow users to more easily check if an
uploaded avatar was set using `if user.avatar:` rather than the
admittedly clunky `if user.avatar != user.default_avatar.
The old behaviour with a fallback is still useful for actual display
purposes, so it has been moved over to the new `User.display_avatar`
attribute. This also has symmetry with the newly added
`Member.display_avatar` attribute.
2021-08-25 01:43:09 -04:00