improve help msg

This commit is contained in:
Ondřej Hruška 2021-08-22 19:52:53 +02:00
parent 344b984e10
commit b97a57b933
No known key found for this signature in database
GPG key ID: 2C5FD5035250423D

View file

@ -407,20 +407,24 @@ impl GroupHandle {
Replies and mentions with commands won't be shared.\n\
\n\
**Supported commands:**\n\
`/ignore, /i` - make the group completely ignore the post\n\
`/members, /who` - show group members / admins\n\
`/boost, /b` - boost the replied-to post into the group\n\
`/ignore, /i` - make the group completely ignore the post\n\
`/ping - check that the service is alive"
.to_string(),
);
if self.config.is_member_only() {
replies.push("`/members, /who` - show group members / admins".to_string());
replies.push("`/leave` - leave the group".to_string());
} else {
replies.push("/members, /who` - show group admins".to_string());
}
if is_admin {
replies.push(
"`/add user` - add a member (use e-mail style address)\n\
"\n\
**Admin commands:**\n\
`/add user` - add a member (use e-mail style address)\n\
`/kick, /remove user` - kick a member\n\
`/ban x` - ban a user or a server\n\
`/unban x` - lift a ban\n\