Struct telescope::discord_bot::DiscordBot [−][src]
pub struct DiscordBot;
Expand description
ZST representing Telescope’s discord bot. The actual client is stored by the future representing the bots listening state.
Implementations
Create a Serenity Discord client.
Create a Discord client and start listening for Discord events.
Run create_and_listen in an Actix compatible future.
Trait Implementations
Called when the supervisor restarts a failed actor.
Auto Trait Implementations
impl RefUnwindSafe for DiscordBot
impl Send for DiscordBot
impl Sync for DiscordBot
impl Unpin for DiscordBot
impl UnwindSafe for DiscordBot
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more