mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Replace MyAwesomeTOken with <Your token here>
This commit is contained in:
parent
e91d79a5f9
commit
019d9a09de
2 changed files with 10 additions and 10 deletions
10
README.md
10
README.md
|
@ -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>
|
||||||
|
|
10
src/lib.rs
10
src/lib.rs
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue