Crates.io | bevy-discord-presence |
lib.rs | bevy-discord-presence |
version | 0.4.3 |
source | src |
created_at | 2022-04-17 05:56:42.43429 |
updated_at | 2023-08-19 01:45:15.197917 |
description | Discord presence plugin for the Bevy game engine |
homepage | |
repository | https://github.com/jewlexx/discord-presence.git |
max_upload_size | |
id | 569308 |
size | 59,283 |
A simplistic bevy plugin for discord presence integration within the bevy game engine
Add this to your Cargo.toml
:
[dependencies]
bevy-discord-presence = "0.4"
or run:
cargo add bevy-discord-presence
use bevy::prelude::*;
use bevy_discord_presence::config::{RPCConfig, RPCPlugin};
fn main() {
println!("hello world!");
let mut app = App::new();
app.add_plugins(DefaultPlugins);
app.add_plugin(RPCPlugin(RPCConfig {
app_id: 965125975941709834,
show_time: true,
}));
app.run();
}
More examples can be found in the examples directory.
See CHANGELOG.md
See CONTRIBUTING.md