aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2023-03-20 14:07:34 +0200
committerGravatar GitHub <[email protected]>2023-03-20 14:07:34 +0200
commitb8e41442b3ea5029602df83ececf3e49c06583ab (patch)
treebd6584c93b0a8d2e9d00cf9d8e62389f017f25c7 /botstrap.py
parentDon't manually move timed out users (diff)
parentMerge 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.py6
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"))