pull/14/head
Ondřej Hruška 3 years ago
parent b97a57b933
commit 80b06ec131
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 5
      src/group_handle.rs

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

Loading…
Cancel
Save