diff options
| author | Austin Hellyer <[email protected]> | 2016-12-03 21:48:20 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-03 21:48:20 -0800 |
| commit | 4de39da887248e374b4d824472a6422c7e46dacc (patch) | |
| tree | cf7a5f5a5d4192e039e167406762805c8eaebdb8 /src | |
| parent | Import this import _again_ (diff) | |
| download | serenity-4de39da887248e374b4d824472a6422c7e46dacc.tar.xz serenity-4de39da887248e374b4d824472a6422c7e46dacc.zip | |
Fix signature of Context::move_member
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/context.rs | 4 |
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(); |