aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'botstrap.py')
-rw-r--r--botstrap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/botstrap.py b/botstrap.py
index 2b34dad81..28486bd36 100644
--- a/botstrap.py
+++ b/botstrap.py
@@ -159,6 +159,7 @@ 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"
+ config_str += f"webhooks_{webhook_name}__channel={all_channels[webhook_name]}\n"
env_file_path.write_text(config_str)