diff options
| author | Jokler <jokler@protonmail.com> | 2020-01-07 17:03:00 +0100 |
|---|---|---|
| committer | Jokler <jokler@protonmail.com> | 2020-01-07 17:03:00 +0100 |
| commit | 74e9d2a707f31d99865f9c406893c1221df27db4 (patch) | |
| tree | 159072c508092f28eb860747f8042008fcee930f /src/main.rs | |
| parent | 96406b289ed823d0422f14772399b3e97edb4049 (diff) | |
| download | pokebot-74e9d2a707f31d99865f9c406893c1221df27db4.tar.gz pokebot-74e9d2a707f31d99865f9c406893c1221df27db4.zip | |
Show correct state in the bot's name after loading
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs index 6d6c00e..cdb0bd6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,8 +12,8 @@ use structopt::clap::AppSettings; use structopt::StructOpt; use tsclientlib::{ - events::Event, ConnectOptions, Connection, ConnectionLock, Event::ConEvents, - Identity, MessageTarget, + events::Event, ConnectOptions, Connection, ConnectionLock, Event::ConEvents, Identity, + MessageTarget, }; use log::error; @@ -122,9 +122,9 @@ async fn async_main() { //ctrlc_fut.await.map_err(|(e, _)| e).unwrap(); //conn.disconnect(DisconnectOptions::new()) - //.compat() - //.await - //.unwrap(); + //.compat() + //.await + //.unwrap(); // TODO Should not be required //std::process::exit(0); |
