draft discord connection function
This commit is contained in:
parent
76f3babd53
commit
d20383ea2d
1 changed files with 12 additions and 0 deletions
12
src/discord.rs
Normal file
12
src/discord.rs
Normal 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);
|
||||||
|
}
|
Reference in a new issue