diff options
author | 2023-03-09 16:05:24 +0100 | |
---|---|---|
committer | 2023-03-09 16:05:24 +0100 | |
commit | 1a47af9a71b575c6d2ffce28a3720d227a4fac49 (patch) | |
tree | 1adb1f9510b861898457cb1d406459a4ae709cb8 | |
parent | Make tag slash command guild only (#2452) (diff) | |
parent | replace . with _ when mapping webhook ids (diff) |
Merge pull request #2457 from shtlrs/fix-env-var-mappings-in-botstrap
Replace correct separator when mapping webhook ids to .env.server
-rw-r--r-- | botstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/botstrap.py b/botstrap.py index 4b00be9aa..2b34dad81 100644 --- a/botstrap.py +++ b/botstrap.py @@ -159,6 +159,6 @@ with DiscordClient() as discord_client: webhook_id = create_webhook(webhook_name, webhook_channel_id, client=discord_client) else: webhook_id = webhook_model.id - config_str += f"webhooks_{webhook_name}.id={webhook_id}\n" + config_str += f"webhooks_{webhook_name}_id={webhook_id}\n" env_file_path.write_text(config_str) |