Skip to content

Commit

Permalink
Merge pull request #8 from citxx/frostify
Browse files Browse the repository at this point in the history
Add "frostify" command
  • Loading branch information
freopen authored Jan 14, 2024
2 parents ccd89b2 + 2d2d71f commit c2dbb8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added assets/frostify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/telegram_bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ enum FreopenBotCommand {
Ukulelify(String),
Relaxify(String),
Reallify(String),
Frostify(String),
Subscribe(String),
}

Expand Down Expand Up @@ -81,6 +82,7 @@ async fn process_message(context: &UpdateWithCx<AutoSend<Bot>, Message>) -> Resu
FreopenBotCommand::Ukulelify(param) => ("ukulelify", param),
FreopenBotCommand::Relaxify(param) => ("relaxify", param),
FreopenBotCommand::Reallify(param) => ("reallify", param),
FreopenBotCommand::Frostify(param) => ("frostify", param),
_ => return Ok(()),
};
let mirror = param == "mirror";
Expand Down

0 comments on commit c2dbb8f

Please sign in to comment.