danbooru-bot/config.ini

21 lines
No EOL
812 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 = git.mctaylors.ru
[App]
; Application name (e.g. Danbooru).
Name = Danbooru
; Host (without http://) used to access the application API.
Host = danbooru.donmai.us
; (Optional) Public hostname (without http://) for example, 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 =
; Prefer the secure HTTPS protocol for generating links that use a public hostname.
; If True, bot will generate HTTPS links.
; If False, bot will generate HTTP links.
PreferSecureProtocol = True