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

@@ -18,10 +18,7 @@ pub async fn handle(bot: &Bot, message_context: &MessageContext) -> anyhow::Resu
// Agents
message.push_str(&format!("## {}", strings::help::agent::heading()));
message.push_str("\n\n");
message.push_str(&strings::help::agent::intro(
bot.command_prefix(),
sender_can_manage_room_local_agents,
));
message.push_str(&strings::help::agent::intro(bot.command_prefix()));
message.push_str("\n\n");
message.push_str(&strings::help::agent::intro_handler_relation(
bot.command_prefix(),