Small changes on client doc

This commit is contained in:
Victor Mignot 2022-11-20 18:16:00 -05:00
parent 1890235ac5
commit 1941a0127f
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

View file

@ -17,8 +17,7 @@ use serenity::{prelude::GatewayIntents, Client as DiscordClient};
///
/// let credentials = ClientCredentials {
/// discord_token: &discord_token,
/// db_credentials: DatabaseCredentials::parse(mongo_uri).await.expect("Failed parsing
/// credentials"),
/// db_credentials: DatabaseCredentials::parse(mongo_uri).await.expect("Failed parsing credentials"),
/// };
///
/// let mut client = Client::new(credentials).await.expect("Error creating client");