Allow regular (unprivileged) users to see providers help and adapt it to them

This commit is contained in:
Slavi Pantaleev
2024-09-19 13:39:52 +03:00
parent e3b07aa291
commit f6cc8363d1
8 changed files with 69 additions and 58 deletions

View File

@@ -12,10 +12,7 @@ pub async fn handle(bot: &Bot, message_context: &MessageContext) -> anyhow::Resu
message.push_str(&format!("## {}", strings::help::agent::heading()));
message.push_str("\n\n");
message.push_str(&strings::help::agent::intro(
bot.command_prefix(),
can_manage_agents,
));
message.push_str(&strings::help::agent::intro(bot.command_prefix()));
message.push('\n');
message.push_str(&strings::help::agent::intro_capabilities());
message.push_str("\n\n");