i kinda forgot to commit. Anyways, i made the config into toml, edited readme, and... refactored code...

This commit is contained in:
2025-06-07 13:14:50 +02:00
parent c0793562e3
commit 4c21b6da4e
20 changed files with 149 additions and 101 deletions
+2 -4
View File
@@ -19,11 +19,9 @@ pub fn event_handler<'a>(
data_about_bot.user.id
);
let file_text = std::fs::read_to_string("./data/status.txt").unwrap();
let file_text = std::fs::read_to_string("./cfg/status.txt").unwrap();
let custom_activity = ActivityData::custom(file_text);
// TODO: make custom rich presence
//let playing_activity
ctx.online();
ctx.set_activity(Some(custom_activity));
}