public R MoveTo(ulong channelId, string password = null) { try { tsBaseClient.ClientMove(me.ClientId, channelId, password); return(R.OkR); } catch (Ts3CommandException) { return("Cannot move there."); } }
public R MoveTo(ulong channelId, string password = null) { var me = GetSelf(); if (!me.Ok) { return(me.Error); } return(tsBaseClient.ClientMove(me.Value.ClientId, channelId, password).ToR("Cannot move there.")); }