aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-06 15:09:58 -0800
committerAustin Hellyer <[email protected]>2016-11-06 15:09:58 -0800
commit63d41f1c3d601c36796c640b25a3a749120a5655 (patch)
tree88ad328d69f07e372c9c87f1425bfd45a028cfe0 /src
parentAdd an 'allow_whitespace' framework config (diff)
downloadserenity-63d41f1c3d601c36796c640b25a3a749120a5655.tar.xz
serenity-63d41f1c3d601c36796c640b25a3a749120a5655.zip
Remove Context::get_voice_regions
This was basically an alias to http::get_voice_regions and likely had no use case.
Diffstat (limited to 'src')
-rw-r--r--src/client/context.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/context.rs b/src/client/context.rs
index 7cd530a..ceecf74 100644
--- a/src/client/context.rs
+++ b/src/client/context.rs
@@ -796,10 +796,6 @@ impl Context {
after.map(|u| u.into().0))
}
- pub fn get_voice_regions(&self) -> Result<Vec<VoiceRegion>> {
- http::get_voice_regions()
- }
-
/// Kicks a [`Member`] from the specified [`Guild`] if they are in it.
///
/// Requires the [Kick Members] permission.