make name field optional

This commit is contained in:
Ilion Beyst 2022-08-01 00:16:24 +02:00
parent 8f65a7d3e2
commit aafb785645

View file

@ -34,7 +34,7 @@ struct PlayMatch {
#[derive(Deserialize)]
struct BotConfig {
#[allow(dead_code)]
name: String,
name: Option<String>,
command: Command,
working_directory: Option<String>,
}