-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from merutech/bump-babyrite-v0.14.0
deps: Bump babyrite v0.14.0
- Loading branch information
Showing
2 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
### babyrite configuration ### | ||
logger_format='compact' | ||
### babyrite configuration file ### | ||
# This file is used for babyrite configuration. | ||
# By changing this configuration, you can modify the behavior of babyrite. Please restart babyrite after changing the settings. | ||
# The settings are written in TOML format. To use the configuration file, specify the recursive path to the configuration file in the environment variable "CONFIG_FILE_PATH" injected into the container. | ||
# Note that babyrite will run with default settings if not configured. | ||
|
||
[preview] | ||
is_mention=true | ||
# Startup settings (Feature Flags) | ||
## Flags to change the behavior of babyrite. Specify them separated by commas. The default is empty. | ||
## The valid flags are as follows: | ||
## - "json_logging": Outputs logs in JSON format (useful when integrating with log collection tools like Grafana Loki) | ||
feature_flag = "" | ||
|
||
# Mention settings for preview generation (default is enabled) | ||
## Mentions the request sender when generating a preview. | ||
is_mention = true | ||
|
||
# Preview deletion feature (default is enabled) | ||
## Sets whether to enable the deletion of previews. If enabled, a trash can reaction is added to each preview, and pressing the reaction will delete it. | ||
## If disabled, the reaction is not added, and pressing the reaction will not delete the preview. | ||
is_deletable = true | ||
|
||
# Allow NSFW (Not Safe For Work) content (default is disabled) | ||
## Sets whether to allow the generation of messages from channels marked as NSFW. It is strongly recommended to disable this setting on community servers. | ||
is_allow_nsfw = false |