Use motd from config

This commit is contained in:
Garen Tyler 2022-04-19 08:19:20 -06:00
parent 08139a2ec7
commit 9b760eb58f
No known key found for this signature in database
GPG Key ID: E3BF83D66394FD92
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
favicon = "server-icon.png" favicon = "server-icon.png"
max_players = 20 max_players = 20
motd = "Composition MOTD" motd = "Hello world!"
port = 25565 port = 25565

View File

@ -120,7 +120,7 @@ impl Server {
max_players: CONFIG.max_players, max_players: CONFIG.max_players,
current_players, current_players,
description: json!({ description: json!({
"text": "Hello world!" "text": CONFIG.motd
}), }),
}) })
.await; .await;