Cargo Features
bevy-discord has no features set by default.
[dependencies]
bevy-discord = { version = "0.3.1", features = ["full", "webhook", "bot", "http", "bot_cache"] }
- full = bot, http, webhook
- webhook full?
-
Enables reqwest, serde, and serde_json
Affects
bevy-discord::webhook
… - bot full? = http
-
Affects
bevy-discord::bot
… - 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
-
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::BCacheRead
,events::BShardsReady
…