summaryrefslogtreecommitdiff
path: root/07_sample_bot_structure/.env.example
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2020-08-04 20:31:39 +0200
committerDennis Kobert <dennis@kobert.dev>2020-08-04 20:31:39 +0200
commitf14ba9816bf32c7998a97a9cb55565a9e9a9bae5 (patch)
tree653e31f08018abd4e47870679469dd81662c5b55 /07_sample_bot_structure/.env.example
Initial commitHEADmaster
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