Implemented voice kick via ModifyAsync
Created by: WamWooWam
Summary
Now Discord supports kicking users by setting channel_id
to null when modifying users, this PR makes sure D#+ supports that via ModifyAsync
on both the REST and Socket clients
Details
Made VoiceChannelId an Optional<ulong?>
rather than Optional<ulong>
and added nullchecks to the tests
Changes proposed
ulong?
- null checking
- add commands to the test bot to test this
Notes
This feels really hacky on Discord's part...