mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
add comment and logging error
This commit is contained in:
parent
1be8f5e422
commit
5ea624674d
@ -8,6 +8,9 @@ use std::thread::JoinHandle;
|
|||||||
use crate::DEFAULT_PUBLIC_SERVER;
|
use crate::DEFAULT_PUBLIC_SERVER;
|
||||||
use chrono::Utc;
|
use chrono::Utc;
|
||||||
|
|
||||||
|
/// Connects to the discord application where Images and more resides
|
||||||
|
/// can be viewed at https://discordapp.com/developers/applications/583662036194689035/rich-presence/assets
|
||||||
|
/// but requires an invitation.
|
||||||
const DISCORD_APPLICATION_ID: i64 = 583662036194689035;
|
const DISCORD_APPLICATION_ID: i64 = 583662036194689035;
|
||||||
|
|
||||||
/// Represents an update of the game which should be reflected in Discord
|
/// Represents an update of the game which should be reflected in Discord
|
||||||
|
@ -134,7 +134,7 @@ fn main() {
|
|||||||
Ok(disc) => {
|
Ok(disc) => {
|
||||||
//great
|
//great
|
||||||
}
|
}
|
||||||
Err(e) => {}
|
Err(e) => { log::error!("Couldn't init discord: {}", e) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user