Skip to content
Snippets Groups Projects

load discord_token at runtime

Merged squimmy requested to merge load-token-at-runtime into master
Compare and
2 files
+ 2
4
Preferences
Compare changes
Files
2
+ 0
2
@@ -11,8 +11,6 @@ lazy_static! {
pub static ref CONFIG: UccbotConfig = toml::from_str(&CONFIG_FILE).unwrap();
}
pub static DISCORD_TOKEN: &str = include_str!("discord_token");
#[derive(Deserialize)]
pub struct UccbotConfig {
pub server_id: u64,