...
This commit is contained in:
parent
f6dfd7e4de
commit
7808a29850
@ -8,3 +8,4 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cgmath = "0.18"
|
cgmath = "0.18"
|
||||||
|
discord-sdk = "0.1"
|
9
game/src/utilities/discord.rs
Normal file
9
game/src/utilities/discord.rs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
//! Discord Rich Presence utilities
|
||||||
|
|
||||||
|
use discord_sdk::ds::{Discord, User, Wheel};
|
||||||
|
|
||||||
|
pub struct DiscordRpcClient {
|
||||||
|
pub discord: Discord,
|
||||||
|
pub user: User,
|
||||||
|
pub wheel: Wheel,
|
||||||
|
}
|
Reference in New Issue
Block a user