Replace MyAwesomeTOken with <Your token here>

This commit is contained in:
Temirkhan Myrzamadi 2020-02-19 05:50:02 +06:00
parent e91d79a5f9
commit 019d9a09de
2 changed files with 10 additions and 10 deletions

View file

@ -30,10 +30,10 @@
2. Initialise the `TELOXIDE_TOKEN` environmental variable to your token: 2. Initialise the `TELOXIDE_TOKEN` environmental variable to your token:
```bash ```bash
# Unix # Unix
$ export TELOXIDE_TOKEN=MyAwesomeToken $ export TELOXIDE_TOKEN=<Your token here>
# Windows # Windows
$ set TELOXITE_TOKEN=MyAwesomeToken $ set TELOXITE_TOKEN=<Your token here>
``` ```
3. Be sure that you are up to date: 3. Be sure that you are up to date:
```bash ```bash
@ -82,7 +82,7 @@ async fn main() {
```bash ```bash
git clone https://github.com/teloxide/teloxide.git git clone https://github.com/teloxide/teloxide.git
cd teloxide/examples/ping_pong_bot cd teloxide/examples/ping_pong_bot
TELOXIDE_TOKEN=MyAwesomeToken cargo run TELOXIDE_TOKEN=<Your token here> cargo run
``` ```
</details> </details>
@ -151,7 +151,7 @@ async fn main() {
```bash ```bash
git clone https://github.com/teloxide/teloxide.git git clone https://github.com/teloxide/teloxide.git
cd teloxide/examples/simple_commands_bot cd teloxide/examples/simple_commands_bot
TELOXIDE_TOKEN=MyAwesomeToken cargo run TELOXIDE_TOKEN=<Your token here> cargo run
``` ```
</details> </details>
@ -248,7 +248,7 @@ async fn main() {
```bash ```bash
git clone https://github.com/teloxide/teloxide.git git clone https://github.com/teloxide/teloxide.git
cd teloxide/examples/guess_a_number_bot cd teloxide/examples/guess_a_number_bot
TELOXIDE_TOKEN=MyAwesomeToken cargo run TELOXIDE_TOKEN=<Your token here> cargo run
``` ```
</details> </details>

View file

@ -25,10 +25,10 @@
//! variable to your token: //! variable to your token:
//! ```text //! ```text
//! # Unix //! # Unix
//! $ export TELOXIDE_TOKEN=MyAwesomeToken //! $ export TELOXIDE_TOKEN=<Your token here>
//! //!
//! # Windows //! # Windows
//! $ set TELOXITE_TOKEN=MyAwesomeToken //! $ set TELOXITE_TOKEN=<Your token here>
//! ``` //! ```
//! //!
//! 3. Be sure that you are up to date: //! 3. Be sure that you are up to date:
@ -79,7 +79,7 @@
//! ```text //! ```text
//! git clone https://github.com/teloxide/teloxide.git //! git clone https://github.com/teloxide/teloxide.git
//! cd teloxide/examples/ping_pong_bot //! cd teloxide/examples/ping_pong_bot
//! TELOXIDE_TOKEN=MyAwesomeToken cargo run //! TELOXIDE_TOKEN=<Your token here> cargo run
//! ``` //! ```
//! //!
//! </details> //! </details>
@ -162,7 +162,7 @@
//! ```text //! ```text
//! git clone https://github.com/teloxide/teloxide.git //! git clone https://github.com/teloxide/teloxide.git
//! cd teloxide/examples/simple_commands_bot //! cd teloxide/examples/simple_commands_bot
//! TELOXIDE_TOKEN=MyAwesomeToken cargo run //! TELOXIDE_TOKEN=<Your token here> cargo run
//! ``` //! ```
//! //!
//! </details> //! </details>
@ -281,7 +281,7 @@
//! ```text //! ```text
//! git clone https://github.com/teloxide/teloxide.git //! git clone https://github.com/teloxide/teloxide.git
//! cd teloxide/examples/guess_a_number_bot //! cd teloxide/examples/guess_a_number_bot
//! TELOXIDE_TOKEN=MyAwesomeToken cargo run //! TELOXIDE_TOKEN=<Your token here> cargo run
//! ``` //! ```
//! //!
//! </details> //! </details>