Small changes on client doc
This commit is contained in:
parent
1890235ac5
commit
1941a0127f
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue