2f5d35e
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Discourse;
impl Platform for Discourse {
fn id(&self) -> &'static str {
"discourse"
}
fn name(&self) -> &'static str {
"Discourse"
}
fn category(&self) -> Category {
Category::Forum
}
fn domains(&self) -> &'static [&'static str] {
&["discourse.org"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Discourse = Discourse;