Skip to content

Commit

Permalink
chore: adjust rpt args (test helm upgrade)
Browse files Browse the repository at this point in the history
  • Loading branch information
fython committed Mar 2, 2024
1 parent fb6597f commit 374ba4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub(crate) enum Command {
}

pub(crate) async fn handle_help_cmd(bot: Bot, msg: Message, _: Command) -> ResponseResult<()> {
bot.send_message(msg.chat.id, "我的主人很懒!!!不如直接问问他怎么用")
bot.send_message(msg.chat.id, "我的主人很懒!!!不如直接问问他怎么用")
.await?;
Ok(())
}
4 changes: 2 additions & 2 deletions src/rpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ pub(crate) struct RepeaterStates {
pub(crate) static REPEATER_STATES: Lazy<RepeaterStates> = Lazy::new(|| {
RepeaterStates {
max_text_length: 3 * 10,
max_wait_repeat_duration: TimeDelta::seconds(15),
min_recent_repeat_duration: TimeDelta::seconds(30),
max_wait_repeat_duration: TimeDelta::seconds(45),
min_recent_repeat_duration: TimeDelta::seconds(120),
groups: DashMap::new(),
}
});
Expand Down

0 comments on commit 374ba4f

Please sign in to comment.