mirror of
https://git.ondrovo.com/MightyPork/group-actor.git
synced 2024-11-24 09:01:02 +00:00
improve help msg
This commit is contained in:
parent
344b984e10
commit
b97a57b933
1 changed files with 7 additions and 3 deletions
|
@ -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\
|
||||
|
|
Loading…
Reference in a new issue