summaryrefslogtreecommitdiff
path: root/07_sample_bot_structure/.env.example
diff options
context:
space:
mode:
Diffstat (limited to '07_sample_bot_structure/.env.example')
-rw-r--r--07_sample_bot_structure/.env.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/07_sample_bot_structure/.env.example b/07_sample_bot_structure/.env.example
new file mode 100644
index 0000000..3b3b4ac
--- /dev/null
+++ b/07_sample_bot_structure/.env.example
@@ -0,0 +1,10 @@
+# This declares an environment variable named "DISCORD_TOKEN" with the given
+# value. When calling `kankyo::load()`, it will read the `.env` file and parse
+# these key-value pairs and insert them into the environment.
+#
+# Environment variables are separated by newlines and must not have space
+# around the equals sign (`=`).
+DISCORD_TOKEN=put your token here
+# Declares the level of logging to use. Read the documentation for the `log`
+# and `env_logger` crates for more information.
+RUST_LOG=debug