aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-03-09 15:51:44 +0100
committerGravatar shtlrs <[email protected]>2023-03-09 15:51:44 +0100
commit2913c51518809e7e120a133f2aabe9668007f954 (patch)
tree1adb1f9510b861898457cb1d406459a4ae709cb8 /botstrap.py
parentMake tag slash command guild only (#2452) (diff)
replace . with _ when mapping webhook ids
Diffstat (limited to 'botstrap.py')
-rw-r--r--botstrap.py2
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)