2021-04-11 16:39:25 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
application:
|
2022-09-02 17:44:56 +02:00
|
|
|
# Amazon Recipient Email in /howtohelp message
|
2021-04-11 16:39:25 +02:00
|
|
|
amazon_gift_card_recipient: pirate@ship.space
|
2022-09-02 17:44:56 +02:00
|
|
|
# Amazon URL for buying card in /howtohelp message
|
2021-04-11 16:39:25 +02:00
|
|
|
amazon_gift_card_url: https://www.amazon.com/dp/B07TMNGSN4
|
2022-09-02 17:44:56 +02:00
|
|
|
bot_version: 2.0.0
|
|
|
|
btc_donate_address: '3CLEdvAXtNqCNix6SQmyT5RscR6pzxGvg8'
|
2021-04-11 16:39:25 +02:00
|
|
|
# List of chat IDs that is allowed to bypass maintenance mode
|
|
|
|
bypass_maintenance: []
|
|
|
|
# Debugging mode
|
|
|
|
debug: true
|
2022-09-02 17:44:56 +02:00
|
|
|
eth_donate_address: '0x930B94dafE8f2dEf8C6b536d9F70A12604Af10C3'
|
2022-03-28 16:39:36 +02:00
|
|
|
# Enabled indices (passed to Nexus Meta API)
|
|
|
|
index_aliases:
|
|
|
|
- scitech
|
2021-04-11 16:39:25 +02:00
|
|
|
# All users (except `bypass_maintenance` ones) will get UPGRADE_MAINTENANCE message in response
|
|
|
|
is_maintenance_mode: false
|
|
|
|
# Disable /settings, uploading new articles (can be used while vacuuming backend Postgres)
|
|
|
|
# and preventing creation of new users
|
|
|
|
is_read_only_mode: false
|
|
|
|
# Require subscription to `related_channel` before allowing to use the bot
|
2022-09-02 17:44:56 +02:00
|
|
|
is_subscription_required: false
|
2021-04-11 16:39:25 +02:00
|
|
|
maintenance_picture_url:
|
2022-09-02 17:44:56 +02:00
|
|
|
nexus_version: Jabbah
|
2021-04-11 16:39:25 +02:00
|
|
|
# Default page size for SERP
|
|
|
|
page_size: 5
|
2022-09-02 17:44:56 +02:00
|
|
|
# Length of generated Request-ID used for tracking requests across all backends
|
2021-04-11 16:39:25 +02:00
|
|
|
request_id_length: 12
|
|
|
|
# Length of generated Session-ID used in commands to clue user sessions
|
|
|
|
session_id_length: 8
|
2022-09-02 17:44:56 +02:00
|
|
|
sol_donate_address: 'FcJG17cEyG8LnNkdJg8HCAQQZKxqpwTupD9fc3GXMqxD'
|
2021-04-11 16:39:25 +02:00
|
|
|
too_difficult_picture_url:
|
|
|
|
upgrade_maintenance_picture_url:
|
|
|
|
# Configuring behaviour of the bot in some cases
|
|
|
|
views:
|
|
|
|
settings:
|
2022-09-02 17:44:56 +02:00
|
|
|
has_connectome_button: true
|
2021-04-11 16:39:25 +02:00
|
|
|
has_discovery_button: true
|
|
|
|
has_language_buttons: true
|
2022-09-02 17:44:56 +02:00
|
|
|
xmr_donate_address: '42HZx5Cg1uQ2CtCrq7QabP23BN7gBrGu6U6QumkMmR4bKS61gcoP8xyNzP5cJCbjac9yaWFhLsDmM3adMWyBKBXn1d9WiUb'
|
|
|
|
xrp_donate_address: 'rw2ciyaNshpHe7bCHo4bRWq6pqqynnWKQg'
|
|
|
|
xrp_donate_tag: '1968122674'
|
2021-04-11 16:39:25 +02:00
|
|
|
hub:
|
2022-03-28 16:39:36 +02:00
|
|
|
endpoint:
|
2021-04-11 16:39:25 +02:00
|
|
|
idm:
|
2022-03-28 16:39:36 +02:00
|
|
|
enabled: true
|
|
|
|
endpoint:
|
2021-04-23 17:23:02 +02:00
|
|
|
log_path: '/var/log/nexus-bot'
|
2021-04-11 16:39:25 +02:00
|
|
|
meta_api:
|
2022-03-28 16:39:36 +02:00
|
|
|
endpoint:
|
2021-04-11 16:39:25 +02:00
|
|
|
telegram:
|
|
|
|
# Telegram App Hash from https://my.telegram.org/
|
|
|
|
app_hash: '{{ APP_HASH }}'
|
|
|
|
# Telegram App ID from https://my.telegram.org/
|
|
|
|
app_id: 00000
|
|
|
|
# External bot name shown in messages to users
|
2022-09-02 17:44:56 +02:00
|
|
|
bot_name: libgen_scihub_2_bot
|
2021-04-23 17:23:02 +02:00
|
|
|
bot_token:
|
2021-04-11 16:39:25 +02:00
|
|
|
# WARNING! Potentially buggy telethon option. Sometimes it goes mad and overload users with tons of messages
|
|
|
|
# Collect missed messages at startup time and answer to them
|
|
|
|
catch_up: false
|
|
|
|
# Telegram account for forwarding copyright infringements from /copyright command
|
|
|
|
copyright_infringement_account:
|
|
|
|
# Telethon database for keeping cache
|
|
|
|
database:
|
2021-04-24 15:28:04 +02:00
|
|
|
session_id: /tmp/nexus-bot.db
|
2021-04-11 16:39:25 +02:00
|
|
|
# Enabled handlers
|
|
|
|
handlers:
|
|
|
|
- nexus.bot.handlers.admin.AdminHandler
|
|
|
|
- nexus.bot.handlers.ban.BanHandler
|
|
|
|
- nexus.bot.handlers.ban.BanlistHandler
|
|
|
|
- nexus.bot.handlers.ban.UnbanHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.aboutus.AboutusHandler
|
2021-04-11 16:39:25 +02:00
|
|
|
- nexus.bot.handlers.copyright.CopyrightHandler
|
|
|
|
- nexus.bot.handlers.close.CloseHandler
|
|
|
|
- nexus.bot.handlers.download.DownloadHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.howtohelp.HowToHelpHandler
|
2021-04-11 16:39:25 +02:00
|
|
|
- nexus.bot.handlers.help.HelpHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.profile.ProfileHandler
|
|
|
|
- nexus.bot.handlers.profile.DigestHandler
|
|
|
|
- nexus.bot.handlers.rank.RankHandler
|
2021-04-11 16:39:25 +02:00
|
|
|
- nexus.bot.handlers.roll.RollHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.seed.SeedHandler
|
2021-04-11 16:39:25 +02:00
|
|
|
- nexus.bot.handlers.settings.SettingsButtonsHandler
|
|
|
|
- nexus.bot.handlers.settings.SettingsHandler
|
|
|
|
- nexus.bot.handlers.shortlink.ShortlinkHandler
|
|
|
|
- nexus.bot.handlers.submit.SubmitHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.submit.EditSubmitHandler
|
2021-04-11 16:39:25 +02:00
|
|
|
- nexus.bot.handlers.start.StartHandler
|
|
|
|
- nexus.bot.handlers.stop.StopHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.trends.TrendsHelpHandler
|
|
|
|
- nexus.bot.handlers.trends.TrendsHandler
|
|
|
|
- nexus.bot.handlers.trends.TrendsEditHandler
|
2021-04-11 16:39:25 +02:00
|
|
|
- nexus.bot.handlers.view.ViewHandler
|
|
|
|
- nexus.bot.handlers.vote.VoteHandler
|
|
|
|
- nexus.bot.handlers.noop.NoopHandler
|
|
|
|
- nexus.bot.handlers.search.SearchHandler
|
|
|
|
- nexus.bot.handlers.search.SearchEditHandler
|
|
|
|
- nexus.bot.handlers.search.SearchPagingHandler
|
2022-09-02 17:44:56 +02:00
|
|
|
- nexus.bot.handlers.search.InlineSearchHandler
|
|
|
|
# Channel that will be shown in /help, /howtohelp and in promotions
|
|
|
|
related_channel: 'nexus_search'
|
|
|
|
twitter:
|
|
|
|
contact_url: https://twitter.com/the_superpirate
|