Conditions | 1 |
Total Lines | 14 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # Copyright Pincer 2021-Present |
||
14 | async def guild_member_chunk(self, payload: GatewayDispatch): |
||
|
|||
15 | """ |
||
16 | Middleware for ``guild_member_chunk`` event. |
||
17 | |||
18 | :param self: |
||
19 | The current client/bot. |
||
20 | |||
21 | :param payload: |
||
22 | The data received from the event. |
||
23 | """ |
||
24 | |||
25 | return ( |
||
26 | "on_guild_member_chunk", |
||
27 | [GuildMembersChunkEvent.from_dict(payload.data)] |
||
28 | ) |
||
33 |