Skip to content

Commit

Permalink
Add past_birthdays_day_range and upcoming_birthdays_day_range fie…
Browse files Browse the repository at this point in the history
…lds.
  • Loading branch information
Phanabani committed Aug 21, 2022
1 parent 280b901 commit 789bffa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ If the user allows their age to be visible, the template will be picked from
See [Birthday message template formatting](#birthday-message-template-formatting) for more details
on how to format the message template fields.

| Key | Type | Value |
|------------------------------|--------------|-----------------------------------------------------------------------------|
| `message_templates_no_age` | `list[str]?` | A list of birthday message templates ***without*** the user's age announced |
| `message_templates_with_age` | `list[str]?` | A list of birthday message templates ***with*** the user's age announced |
| Key | Type | Value |
|--------------------------------|--------------|-------------------------------------------------------------------------------------------------------------------|
| `past_birthdays_day_range` | `int?` | How many days behind to show past birthdays in the `birthdays upcoming` command (between 0 and 365, inclusive) |
| `upcoming_birthdays_day_range` | `int?` | How many days ahead to show upcoming birthdays in the `birthdays upcoming` command (between 0 and 365, inclusive) |
| `message_templates_no_age` | `list[str]?` | A list of birthday message templates ***without*** the user's age announced |
| `message_templates_with_age` | `list[str]?` | A list of birthday message templates ***with*** the user's age announced |

### logging

Expand Down

0 comments on commit 789bffa

Please sign in to comment.