diff options
| author | Zeyla Hellyer <[email protected]> | 2017-10-29 09:53:10 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-10-29 09:53:10 -0700 |
| commit | d50b12931404946e219d3ff0878f0632445ef35f (patch) | |
| tree | e411e56cdd94522dae108a86b12494069bd7f5a9 /examples/07_sample_bot_structure/.env.example | |
| parent | Fix #206 (#207) (diff) | |
| download | serenity-d50b12931404946e219d3ff0878f0632445ef35f.tar.xz serenity-d50b12931404946e219d3ff0878f0632445ef35f.zip | |
Add logging and dotenv to example 07
Diffstat (limited to 'examples/07_sample_bot_structure/.env.example')
| -rw-r--r-- | examples/07_sample_bot_structure/.env.example | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/07_sample_bot_structure/.env.example b/examples/07_sample_bot_structure/.env.example new file mode 100644 index 0000000..3b3b4ac --- /dev/null +++ b/examples/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 |