Commit d079d43 1 parent 380becb commit d079d43 Copy full SHA for d079d43
File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ //! Configuration types for Discord bot and Rich Presence integration.
2
+ //!
3
+ //! This module provides configuration structures for both Discord bot functionality
4
+ //! and Rich Presence integration. The configurations are split into two main components:
5
+ //!
6
+ //! - [`DiscordBotConfig`]: Configuration for the Discord bot (available with `bot` feature)
7
+ //! - [`DiscordRichPresenceConfig`]: Configuration for Rich Presence integration (available with `rich_presence` feature)
8
+
1
9
use crate :: common:: { initialize_field_with_doc, override_field_with_doc} ;
2
10
use bevy_ecs:: prelude:: * ;
3
11
#[ cfg( feature = "bot" ) ]
Original file line number Diff line number Diff line change
1
+ //! Contains all the Bevy events that can be emitted by the Discord integration.
2
+ //!
3
+ //! This module is split into two main feature-gated submodules:
4
+ //!
5
+ //! - [`bot`] - Events related to Discord bot functionality (requires `bot` feature)
6
+ //! - [`rich_presence`] - Events related to Discord Rich Presence integration (requires `rich_presence` feature)
7
+
1
8
use crate :: common:: create_event_collection_and_handler;
2
9
3
10
#[ cfg( feature = "bot" ) ]
@@ -16,7 +23,7 @@ pub mod bot {
16
23
///
17
24
/// Provides data about the bot and the guilds it’s in.
18
25
///
19
- /// Once, dispatched it automatically inserts [DiscordHttpResource](crate::http ::DiscordHttpResource)
26
+ /// Once, dispatched it automatically inserts [DiscordHttpResource](crate::res ::DiscordHttpResource)
20
27
/// to the bevy app.
21
28
pub struct BReadyEvent {
22
29
pub ctx : Context ,
You can’t perform that action at this time.
0 commit comments