hardcore client id
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
use std::fs::File;
|
||||
use std::io::prelude::*;
|
||||
|
||||
pub const CLIENT_ID: &str = "d420a117a32841c2b3474932e49fb54b";
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Config {
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
pub client_id: String,
|
||||
}
|
||||
|
||||
pub fn load(filename: &str) -> Result<Config, toml::de::Error> {
|
||||
|
||||
@@ -91,7 +91,7 @@ fn main() {
|
||||
event_manager.clone(),
|
||||
cfg.username,
|
||||
cfg.password,
|
||||
cfg.client_id,
|
||||
config::CLIENT_ID.to_string(),
|
||||
queue.clone(),
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user