use crate::extras::Extras; use crate::framework::interactions::components::Button; use crate::state::State; #[derive(Debug)] pub struct CodeOfConductButton; impl Button for CodeOfConductButton { fn label(&self) -> Option { Some("Code of Conduct".into()) } fn url(&self) -> Option { Some("https://payphone.lat/code-of-conduct".into()) } } #[derive(Debug)] pub struct NeedHelpButton; impl Button for NeedHelpButton { fn label(&self) -> Option { Some("Need Help?".into()) } fn url(&self) -> Option { Some("https://discord.gg/9daSsrfTmE".into()) } }