Skip to content

Commit

Permalink
Fix voice region deserialization (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamran Mackey committed Dec 4, 2020
1 parent 977fa19 commit ba85299
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/model/voice.rs
Expand Up @@ -21,11 +21,7 @@ pub struct VoiceRegion {
/// A recognizable name of the location of the voice region.
pub name: String,
/// Whether the voice region is optimal for use by the current user.
pub optional: bool,
/// an example hostname.
pub sample_hostname: String,
/// An example port.
pub sample_port: u64,
pub optimal: bool,
/// Indicator of whether the voice region is only for VIP guilds.
pub vip: bool,
#[serde(skip)]
Expand Down

0 comments on commit ba85299

Please sign in to comment.