indefinite/indefinite.rs
1// SPDX-License-Identifier: MIT
2
3use anyhow::Result;
4use filthy_rich::ipc::DiscordIPC;
5
6#[tokio::main]
7async fn main() -> Result<()> {
8 let mut client = DiscordIPC::new_from("1463450870480900160").await?;
9
10 client.run().await?;
11 client.set_activity("this runs", "forever").await?;
12 client.wait().await?;
13
14 Ok(())
15}