| Conditions | 1 |
| Total Lines | 13 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # Copyright Pincer 2021-Present |
||
| 11 | async def voice_state_delete_middleware(self, payload: GatewayDispatch): |
||
| 12 | """ |
||
| 13 | Middleware for ``on_voice_delete_update`` event. |
||
| 14 | |||
| 15 | :param self: |
||
| 16 | The current client. |
||
| 17 | |||
| 18 | :param payload: |
||
| 19 | The data received from the voicestate delete event. |
||
| 20 | |||
| 21 | """ |
||
| 22 | return "on_voice_state_delete", [ |
||
| 23 | VoiceState.from_dict(construct_client_dict(self, payload.data)) |
||
| 24 | ] |
||
| 28 | return voice_state_delete_middleware |
||