A simplistic bevy plugin for discord presence integration within the bevy game engine
Add this to your Cargo.toml
:
toml
[dependencies]
bevy-discord-presence = "0.2"
or run:
shell
cargo add bevy-discord-presence
if you have cargo-edit
installed
```rust use bevy::prelude::*;
use bevydiscordpresence::{RPCConfig, RPCPlugin};
fn main() { println!("hello world!"); let mut app = App::new(); app.addplugins(DefaultPlugins); app.addplugin(RPCPlugin(RPCConfig { appid: 965125975941709834, showtime: true, }));
app.run();
} ```
More examples can be found in the examples directory.
See CHANGELOG.md
See CONTRIBUTING.md