aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-03 21:48:20 -0800
committerAustin Hellyer <[email protected]>2016-12-03 21:48:20 -0800
commit4de39da887248e374b4d824472a6422c7e46dacc (patch)
treecf7a5f5a5d4192e039e167406762805c8eaebdb8 /src
parentImport this import _again_ (diff)
downloadserenity-4de39da887248e374b4d824472a6422c7e46dacc.tar.xz
serenity-4de39da887248e374b4d824472a6422c7e46dacc.zip
Fix signature of Context::move_member
Diffstat (limited to 'src')
-rw-r--r--src/client/context.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/context.rs b/src/client/context.rs
index 6968233..b452c0c 100644
--- a/src/client/context.rs
+++ b/src/client/context.rs
@@ -1246,8 +1246,8 @@ impl Context {
/// Moves a member to a specific voice channel.
pub fn move_member<C, G, U>(&self, guild_id: G, user_id: U, channel_id: C)
-> Result<()> where C: Into<ChannelId>,
- G: Into<ChannelId>,
- U: Into<ChannelId> {
+ G: Into<GuildId>,
+ U: Into<UserId> {
let map = ObjectBuilder::new()
.insert("channel_id", channel_id.into().0)
.build();