Files
payphone/src/groups/calls/components.rs
T
2026-03-07 19:27:40 -03:00

30 lines
678 B
Rust

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