Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xLeviNx authored Oct 31, 2024
1 parent fc8c303 commit 85886ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions discordgsm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ def query_server_modal(game: GamedigGame, locale: Locale):
elif game['id'] == 'gportal':
query_extra['serverId'] = TextInput(label='GPORTAL server id')
modal.add_item(query_extra['serverId'])

# Satisfactory Add Token
elif game['id'] == 'satisfactory':
query_extra['_token'] = TextInput(label='Application Token', placeholder='Server Application token')
modal.add_item(query_extra['_token'])

# Discord: Use guild ID instead of host, remove the port field
elif game['id'] == 'discord':
Expand Down

0 comments on commit 85886ac

Please sign in to comment.