Bevy Discord Presence Plugin

crates.io crates.io

A simplistic bevy plugin for discord presence integration within the bevy game engine

Installation

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

Example

```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.

Changelog

See CHANGELOG.md

Contributions

See CONTRIBUTING.md