Apply patch
This commit is contained in:
parent
f9eabae404
commit
334fe2bf8f
4 changed files with 40 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ type Config struct {
|
|||
TargetChatId *int64 `yaml:"target_chat_id"`
|
||||
EntryMessage string `yaml:"entry_message"`
|
||||
ApprovalMessage string `yaml:"approval_message"`
|
||||
ReminderMessage string `yaml:"reminder_message"`
|
||||
SendApprovalMessage bool `yaml:"send_approval_message"`
|
||||
DeleteRequestAfterDecision bool `yaml:"delete_request_after_decision"`
|
||||
CannedDeclineResponses []string `yaml:"canned_decline_responses"`
|
||||
|
|
@ -44,7 +45,8 @@ func (c *Config) CreateConfig() error {
|
|||
AdminChatId: Int64Ptr(0),
|
||||
AdminChatTopicId: IntPtr(0),
|
||||
TargetChatId: Int64Ptr(0),
|
||||
EntryMessage: "You have requested to join the group, please write a brief message explaining why you want to join.",
|
||||
EntryMessage: "You have requested to join the group. Please write a brief message explaining why you want to join.",
|
||||
ReminderMessage: "Don't forget to give a one-message response to your join request.",
|
||||
ApprovalMessage: "",
|
||||
SendApprovalMessage: false,
|
||||
DeleteRequestAfterDecision: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue