draft discord connection function

This commit is contained in:
Mylloon 2022-01-04 18:19:41 +01:00
parent 76f3babd53
commit d20383ea2d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

12
src/discord.rs Normal file
View file

@ -0,0 +1,12 @@
/// Permet de stocker les informations nécessaire pour utiliser le bot discord
#[derive(Debug)]
pub struct ConnectionInfoDiscord {
pub token: String,
pub prefix: String
}
/// Lance le bot Discord
pub async fn start_discord(informations: ConnectionInfoDiscord) {
println!("\n{:?}", informations);
}