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

View file

@ -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 {