|
|
@ -409,15 +409,14 @@ impl GroupHandle { |
|
|
|
**Supported commands:**\n\ |
|
|
|
**Supported commands:**\n\ |
|
|
|
`/boost, /b` - boost the replied-to post into the group\n\ |
|
|
|
`/boost, /b` - boost the replied-to post into the group\n\ |
|
|
|
`/ignore, /i` - make the group completely ignore the post\n\ |
|
|
|
`/ignore, /i` - make the group completely ignore the post\n\ |
|
|
|
`/ping - check that the service is alive" |
|
|
|
`/ping - check that the service is alive".to_string(), |
|
|
|
.to_string(), |
|
|
|
|
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
if self.config.is_member_only() { |
|
|
|
if self.config.is_member_only() { |
|
|
|
replies.push("`/members, /who` - show group members / admins".to_string()); |
|
|
|
replies.push("`/members, /who` - show group members / admins".to_string()); |
|
|
|
replies.push("`/leave` - leave the group".to_string()); |
|
|
|
replies.push("`/leave` - leave the group".to_string()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
replies.push("/members, /who` - show group admins".to_string()); |
|
|
|
replies.push("`/members, /who` - show group admins".to_string()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if is_admin { |
|
|
|
if is_admin { |
|
|
|