danbooru-bot/config.ini
mctaylors a41417ee84
feat: App.HostName is now optional
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-26 14:04:06 +03:00

17 lines
No EOL
591 B
INI

[General]
; HTTP API token of Telegram bot.
; Can also be set with the BOT_TOKEN environment variable.
Token =
; (Optional) URL for "source code" button in /about.
; If not set, button will not appear in "about" menu.
SourceUrl =
[App]
; Application name (e.g. Danbooru).
Name = Danbooru
; Host (without http://) used to access the application API.
Host = danbooru.donmai.us
; (Optional) Public host name (without http://) for the “Open in [App.Name]” button.
; Useful if the bot is hosted on the same server as the application.
; If not set, [App.Host] will be used instead.
HostName =