Cargo Features

bevy-discord has no features set by default.

[dependencies]
bevy-discord = { version = "0.6.0-alpha.1", features = ["full", "bot", "http", "bot_cache", "rich_presence"] }
full = bot, http, rich_presence
bot full? = http

Enables sync of tokio

Affects events::bot, bevy-discord::bot, bevy-discord::DiscordPluginGroup.discord_bot_config, bevy-discord::events, bevy-discord::DiscordPluginGroup, plugins::ChannelListener

http bot? full?

Enables serenity

serenity:

Enables HTTP, which enables bots to execute actions on Discord.

Affects bevy-discord::http, bevy-discord::serenity

bot_cache

Enables cache of serenity

serenity:

Enables the cache, which stores the data received from Discord gateway to provide access to complete guild data, channels, users and more without needing HTTP requests.

Affects events::bot.BCacheRead, events::bot.BShardsReady

rich_presence full?

Enables async-trait and discord-sdk

Affects events::rich_presence, bevy-discord::rich_presence, bevy-discord::DiscordPluginGroup.discord_rich_presence_config, bevy-discord::events, bevy-discord::DiscordPluginGroup, plugins::ChannelListener