Skip to main content

indefinite_sync/
indefinite-sync.rs

1use filthy_rich::DiscordIPCSync;
2
3fn main() {
4    let mut client = DiscordIPCSync::new("1463450870480900160")
5        .unwrap()
6        .on_ready(|| println!("filthy-rich is READY to set activity updates."));
7
8    client.run(true).unwrap();
9
10    client
11        .set_activity("this runs forever".to_string(), None)
12        .unwrap();
13    client.wait().unwrap();
14}