aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();