diff options
author | 2023-03-20 14:07:34 +0200 | |
---|---|---|
committer | 2023-03-20 14:07:34 +0200 | |
commit | b8e41442b3ea5029602df83ececf3e49c06583ab (patch) | |
tree | bd6584c93b0a8d2e9d00cf9d8e62389f017f25c7 /botstrap.py | |
parent | Don't manually move timed out users (diff) | |
parent | Merge pull request #2470 from python-discord/fix-channel-blacklist (diff) |
Merge branch 'main' into mbaruh/timeout
Diffstat (limited to 'botstrap.py')
-rw-r--r-- | botstrap.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/botstrap.py b/botstrap.py index 28486bd36..90a954d9b 100644 --- a/botstrap.py +++ b/botstrap.py @@ -162,4 +162,8 @@ with DiscordClient() as discord_client: 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) + config_str += "\n#Emojis\n" + config_str += "emojis_trashcan=🗑️" + + with env_file_path.open("wb") as file: + file.write(config_str.encode("utf-8")) |