diff --git a/src/discord.rs b/src/discord.rs new file mode 100644 index 0000000..76b51d4 --- /dev/null +++ b/src/discord.rs @@ -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); +}