Skip to content

Lightweight native Discord client for Windows, Linux and macOS, written in Rust. No Electron, no browser engine.

740 B
Raw Blame
//! Built-in Rencord plugins. To add one: implement [`crate::Plugin`] in a new
//! module and register it in [`builtin`].

mod clear_urls;
mod message_logger;
pub mod message_select;
mod no_reply_mention;
mod silent_typing;
mod text_replace;

pub use clear_urls::ClearUrls;
pub use message_logger::MessageLogger;
pub use message_select::MessageSelect;
pub use no_reply_mention::NoReplyMention;
pub use silent_typing::SilentTyping;
pub use text_replace::TextReplace;

use crate::Plugin;

pub fn builtin() -> Vec<Box<dyn Plugin>> {
    vec![
        Box::new(MessageLogger),
        Box::new(ClearUrls),
        Box::new(MessageSelect),
        Box::new(SilentTyping),
        Box::new(NoReplyMention),
        Box::new(TextReplace),
    ]
}