rm vestigial trusted instances config.

This commit is contained in:
Moon 2025-06-14 04:34:20 +09:00
parent 3ad4edbc45
commit 337a989671
2 changed files with 0 additions and 7 deletions

View file

@ -57,10 +57,6 @@ INSTANCE_TYPE = instance_type
# Web server port
WEB_PORT = config['application'].getint('WebPort', 5000)
# Trusted instances
trusted_instances_str = config['application'].get('TrustedInstances', '')
TRUSTED_INSTANCES = [instance.strip() for instance in trusted_instances_str.split(',') if instance.strip()]
# Fedi handles in the traditional 'user@domain.tld' style, allows these users
# to use extra admin exclusive commands with the bot
ADMINS = json.loads(config['application']['DefaultAdmins'])

View file

@ -9,9 +9,6 @@ DatabaseLocation = ./gacha_game.db
InstanceType = misskey
; Web server port (default: 5000)
WebPort = 5000
; Comma-separated list of trusted fediverse instances (leave empty to allow only local users)
; Example: TrustedInstances = mastodon.social,misskey.io,pleroma.example.com
TrustedInstances =
; Whether to limit access to the bot via an instance whitelist
; The whitelist can be adjusted via the application
UseWhitelist = False