diff options
| author | Jokler <jokler@protonmail.com> | 2020-10-02 15:32:04 +0200 |
|---|---|---|
| committer | Jokler <jokler@protonmail.com> | 2020-10-02 15:32:04 +0200 |
| commit | 28987135afdeb121df48b32d06fa91f941f2894a (patch) | |
| tree | c7123e8367b55c67f716aecd02397b0e47e551ee /src/bot/music.rs | |
| parent | e44a251fe0e1b82c859515768e483f19b1b5aaf3 (diff) | |
| download | pokebot-28987135afdeb121df48b32d06fa91f941f2894a.tar.gz pokebot-28987135afdeb121df48b32d06fa91f941f2894a.zip | |
Update dependencies
Diffstat (limited to 'src/bot/music.rs')
| -rw-r--r-- | src/bot/music.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bot/music.rs b/src/bot/music.rs index 656a169..e8ed33a 100644 --- a/src/bot/music.rs +++ b/src/bot/music.rs @@ -8,7 +8,7 @@ use log::{debug, info}; use serde::Serialize; use structopt::StructOpt; use tokio::sync::mpsc::UnboundedSender; -use tsclientlib::{data, ChannelId, ClientId, ConnectOptions, Identity, Invoker, MessageTarget}; +use tsclientlib::{data, ChannelId, ClientId, Connection, Identity, Invoker, MessageTarget}; use crate::audio_player::{AudioPlayer, AudioPlayerError, PollResult}; use crate::command::Command; @@ -94,7 +94,7 @@ impl MusicBot { } else { info!("Starting in TeamSpeak mode"); - let con_config = ConnectOptions::new(args.address) + let con_config = Connection::build(args.address) .version(tsclientlib::Version::Linux_3_3_2) .name(format!("🎵 {}", args.name)) .identity(args.id) |
