Skip to content

Implemented voice kick via ModifyAsync

Mateusz Brawański requested to merge github/fork/WamWooWam/voice-kick into master

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...

Merge request reports

Loading