add: channel mutes
This commit is contained in:
parent
02f3d08926
commit
884a89904e
17 changed files with 149 additions and 7 deletions
|
@ -17,6 +17,8 @@ use tetratto_core::model::{
|
|||
/// Expand a unicode emoji into its Gemoji shortcode.
|
||||
pub async fn get_emoji_shortcode(emoji: String) -> impl IntoResponse {
|
||||
match emoji.as_str() {
|
||||
// matches `CustomEmoji::replace`
|
||||
"💯" => "100".to_string(),
|
||||
"👍" => "thumbs_up".to_string(),
|
||||
"👎" => "thumbs_down".to_string(),
|
||||
_ => match emojis::get(&emoji) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue