mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-04 17:02:53 +01:00
43be16e4bc
- [nexus] Remove outdated protos - [nexus] Development - [nexus] Development - [nexus] Development - [nexus] Development - [nexus] Development - [nexus] Refactor views - [nexus] Update aiosumma - [nexus] Add tags - [nexus] Development - [nexus] Update repository - [nexus] Update repository - [nexus] Update dependencies - [nexus] Update dependencies - [nexus] Fixes for MetaAPI - [nexus] Support for new queries - [nexus] Adopt new versions of search - [nexus] Improving Nexus - [nexus] Various fixes - [nexus] Add profile - [nexus] Fixes for ingestion - [nexus] Refactorings and bugfixes - [idm] Add profile methods - [nexus] Fix stalled nexus-meta bugs - [nexus] Various bugfixes - [nexus] Restore IDM API functionality GitOrigin-RevId: a0842345a6dde5b321279ab5510a50c0def0e71a
107 lines
4.1 KiB
YAML
107 lines
4.1 KiB
YAML
---
|
|
|
|
application:
|
|
# Amazon Recipient Email in /howtohelp message
|
|
amazon_gift_card_recipient: pirate@ship.space
|
|
# Amazon URL for buying card in /howtohelp message
|
|
amazon_gift_card_url: https://www.amazon.com/dp/B07TMNGSN4
|
|
bot_version: 2.0.0
|
|
btc_donate_address: '3CLEdvAXtNqCNix6SQmyT5RscR6pzxGvg8'
|
|
# List of chat IDs that is allowed to bypass maintenance mode
|
|
bypass_maintenance: []
|
|
# Debugging mode
|
|
debug: true
|
|
eth_donate_address: '0x930B94dafE8f2dEf8C6b536d9F70A12604Af10C3'
|
|
# Enabled indices (passed to Nexus Meta API)
|
|
index_aliases:
|
|
- scitech
|
|
# 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
|
|
is_subscription_required: false
|
|
maintenance_picture_url:
|
|
nexus_version: Jabbah
|
|
# Default page size for SERP
|
|
page_size: 5
|
|
# Length of generated Request-ID used for tracking requests across all backends
|
|
request_id_length: 12
|
|
# Length of generated Session-ID used in commands to clue user sessions
|
|
session_id_length: 8
|
|
sol_donate_address: 'FcJG17cEyG8LnNkdJg8HCAQQZKxqpwTupD9fc3GXMqxD'
|
|
too_difficult_picture_url:
|
|
upgrade_maintenance_picture_url:
|
|
# Configuring behaviour of the bot in some cases
|
|
views:
|
|
settings:
|
|
has_connectome_button: true
|
|
has_discovery_button: true
|
|
has_language_buttons: true
|
|
xmr_donate_address: '42HZx5Cg1uQ2CtCrq7QabP23BN7gBrGu6U6QumkMmR4bKS61gcoP8xyNzP5cJCbjac9yaWFhLsDmM3adMWyBKBXn1d9WiUb'
|
|
xrp_donate_address: 'rw2ciyaNshpHe7bCHo4bRWq6pqqynnWKQg'
|
|
xrp_donate_tag: '1968122674'
|
|
hub:
|
|
endpoint:
|
|
idm:
|
|
enabled: true
|
|
endpoint:
|
|
log_path: '/var/log/nexus-bot'
|
|
meta_api:
|
|
endpoint:
|
|
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
|
|
bot_name: libgen_scihub_2_bot
|
|
bot_token:
|
|
# 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:
|
|
session_id: /tmp/nexus-bot.db
|
|
# Enabled handlers
|
|
handlers:
|
|
- nexus.bot.handlers.admin.AdminHandler
|
|
- nexus.bot.handlers.ban.BanHandler
|
|
- nexus.bot.handlers.ban.BanlistHandler
|
|
- nexus.bot.handlers.ban.UnbanHandler
|
|
- nexus.bot.handlers.aboutus.AboutusHandler
|
|
- nexus.bot.handlers.copyright.CopyrightHandler
|
|
- nexus.bot.handlers.close.CloseHandler
|
|
- nexus.bot.handlers.download.DownloadHandler
|
|
- nexus.bot.handlers.howtohelp.HowToHelpHandler
|
|
- nexus.bot.handlers.help.HelpHandler
|
|
- nexus.bot.handlers.profile.ProfileHandler
|
|
- nexus.bot.handlers.profile.DigestHandler
|
|
- nexus.bot.handlers.rank.RankHandler
|
|
- nexus.bot.handlers.roll.RollHandler
|
|
- nexus.bot.handlers.seed.SeedHandler
|
|
- nexus.bot.handlers.settings.SettingsButtonsHandler
|
|
- nexus.bot.handlers.settings.SettingsHandler
|
|
- nexus.bot.handlers.shortlink.ShortlinkHandler
|
|
- nexus.bot.handlers.submit.SubmitHandler
|
|
- nexus.bot.handlers.submit.EditSubmitHandler
|
|
- nexus.bot.handlers.start.StartHandler
|
|
- nexus.bot.handlers.stop.StopHandler
|
|
- nexus.bot.handlers.trends.TrendsHelpHandler
|
|
- nexus.bot.handlers.trends.TrendsHandler
|
|
- nexus.bot.handlers.trends.TrendsEditHandler
|
|
- 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
|
|
- 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
|