Update mit Trading-Modul
release-tag / release-image (push) Successful in 2m6s

This commit is contained in:
2026-05-30 12:05:35 +02:00
parent d884331c61
commit 9b02905000
7 changed files with 746 additions and 22 deletions
+25 -6
View File
@@ -7,20 +7,39 @@ DISCORD_APP_ID=ApplicationIDHere
DISCORD_GUILD_ID=OptionalTestGuildIDForFastCommandRegistration
# Public channel for sanitized order overview. Leave empty if only the internal team should see order posts.
DISCORD_PUBLIC_ORDER_CHANNEL_ID=PublicOrderChannelIDOptional # 1509819718922670271
DISCORD_PUBLIC_ORDER_CHANNEL_ID=PublicOrderChannelIDOptional
# Private/internal channel for team operations. The bot posts buttons and warehouse checks here.
DISCORD_INTERNAL_ORDER_CHANNEL_ID=PrivateTeamOrderChannelIDRequired # 1509819679487688817
DISCORD_INTERNAL_ORDER_CHANNEL_ID=PrivateTeamOrderChannelIDRequired
# Optional audit/log channel for admin traceability.
DISCORD_AUDIT_CHANNEL_ID=AuditLogChannelIDOptional # 1509819633551802409
DISCORD_AUDIT_CHANNEL_ID=AuditLogChannelIDOptional
# Comma-separated role IDs. Admin role can modify inventory and force status changes.
DISCORD_ADMIN_ROLE_IDS=123456789012345678,234567890123456789 # 1509819305188003931
DISCORD_ADMIN_ROLE_IDS=123456789012345678,234567890123456789
# Comma-separated role IDs. Team role can see internal orders, accept/decline, check warehouse.
DISCORD_TEAM_ROLE_IDS=345678901234567890 # 1509819434330755233
DISCORD_TEAM_ROLE_IDS=345678901234567890
DATABASE_PATH=/data/orders.db
DATABASE_PATH=orders.db
# After this many hours, internal threads for archived orders are deleted.
# Applies to: abgeschlossen, abgelehnt, abgebrochen. Set 0 to disable cleanup.
THREAD_DELETE_AFTER_HOURS=72
# Trading module
# Members with one of these roles may create Trading-Runs. Team/Admin can also use the module.
DISCORD_TRADING_ROLE_IDS=456789012345678901
# Channel where /trading_report posts monthly results. Falls back to audit/internal channel when empty.
DISCORD_TRADING_REPORT_CHANNEL_ID=TradingReportChannelIDOptional
# Comma-separated autocomplete lists.
TRADING_SHIPS=Caterpillar,C2 Hercules,Freelancer MAX,Hull A,Hull C,Taurus
TRADING_COMMODITIES=Gold,Beryl,Diamond,Laranite,Agricium,Quantanium,Processed Food,Medical Supplies
# Organization share per purpose. Supports either 10 or 0.10 for 10%.
TRADING_SHARE_TRADE=10
TRADING_SHARE_HAULING=5
TRADING_SHARE_EVENT=0
TRADING_SHARE_INTERN=0