diff options
Diffstat (limited to 'azalea/examples')
| -rw-r--r-- | azalea/examples/testbot/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 680363e6..0034e946 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -20,7 +20,6 @@ //! only have this on if the bot has operator permissions, otherwise it'll //! just spam the server console unnecessarily. -#![feature(async_closure)] #![feature(trivial_bounds)] mod commands; @@ -53,9 +52,9 @@ async fn main() { for username_or_email in &args.accounts { let account = if username_or_email.contains('@') { - Account::microsoft(&username_or_email).await.unwrap() + Account::microsoft(username_or_email).await.unwrap() } else { - Account::offline(&username_or_email) + Account::offline(username_or_email) }; let mut commands = CommandDispatcher::new(); |
