pleroma-support - optionally use pleroma as a host for the bot. #54

Merged
waifu merged 24 commits from pleroma-support into dev 2025-06-15 19:35:41 -07:00
2 changed files with 0 additions and 7 deletions
Showing only changes of commit 337a989671 - Show all commits

View file

@ -57,10 +57,6 @@ INSTANCE_TYPE = instance_type
# Web server port # Web server port
WEB_PORT = config['application'].getint('WebPort', 5000) 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 # Fedi handles in the traditional 'user@domain.tld' style, allows these users
# to use extra admin exclusive commands with the bot # to use extra admin exclusive commands with the bot
ADMINS = json.loads(config['application']['DefaultAdmins']) ADMINS = json.loads(config['application']['DefaultAdmins'])

View file

@ -9,9 +9,6 @@ DatabaseLocation = ./gacha_game.db
InstanceType = misskey InstanceType = misskey
; Web server port (default: 5000) ; Web server port (default: 5000)
WebPort = 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 ; Whether to limit access to the bot via an instance whitelist
; The whitelist can be adjusted via the application ; The whitelist can be adjusted via the application
UseWhitelist = False UseWhitelist = False