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:
|
||||
```bash
|
||||
# Unix
|
||||
$ export TELOXIDE_TOKEN=MyAwesomeToken
|
||||
$ export TELOXIDE_TOKEN=<Your token here>
|
||||
|
||||
# Windows
|
||||
$ set TELOXITE_TOKEN=MyAwesomeToken
|
||||
$ set TELOXITE_TOKEN=<Your token here>
|
||||
```
|
||||
3. Be sure that you are up to date:
|
||||
```bash
|
||||
|
@ -82,7 +82,7 @@ async fn main() {
|
|||
```bash
|
||||
git clone https://github.com/teloxide/teloxide.git
|
||||
cd teloxide/examples/ping_pong_bot
|
||||
TELOXIDE_TOKEN=MyAwesomeToken cargo run
|
||||
TELOXIDE_TOKEN=<Your token here> cargo run
|
||||
```
|
||||
|
||||
</details>
|
||||
|
@ -151,7 +151,7 @@ async fn main() {
|
|||
```bash
|
||||
git clone https://github.com/teloxide/teloxide.git
|
||||
cd teloxide/examples/simple_commands_bot
|
||||
TELOXIDE_TOKEN=MyAwesomeToken cargo run
|
||||
TELOXIDE_TOKEN=<Your token here> cargo run
|
||||
```
|
||||
|
||||
</details>
|
||||
|
@ -248,7 +248,7 @@ async fn main() {
|
|||
```bash
|
||||
git clone https://github.com/teloxide/teloxide.git
|
||||
cd teloxide/examples/guess_a_number_bot
|
||||
TELOXIDE_TOKEN=MyAwesomeToken cargo run
|
||||
TELOXIDE_TOKEN=<Your token here> cargo run
|
||||
```
|
||||
|
||||
</details>
|
||||
|
|
10
src/lib.rs
10
src/lib.rs
|
@ -25,10 +25,10 @@
|
|||
//! variable to your token:
|
||||
//! ```text
|
||||
//! # Unix
|
||||
//! $ export TELOXIDE_TOKEN=MyAwesomeToken
|
||||
//! $ export TELOXIDE_TOKEN=<Your token here>
|
||||
//!
|
||||
//! # Windows
|
||||
//! $ set TELOXITE_TOKEN=MyAwesomeToken
|
||||
//! $ set TELOXITE_TOKEN=<Your token here>
|
||||
//! ```
|
||||
//!
|
||||
//! 3. Be sure that you are up to date:
|
||||
|
@ -79,7 +79,7 @@
|
|||
//! ```text
|
||||
//! git clone https://github.com/teloxide/teloxide.git
|
||||
//! cd teloxide/examples/ping_pong_bot
|
||||
//! TELOXIDE_TOKEN=MyAwesomeToken cargo run
|
||||
//! TELOXIDE_TOKEN=<Your token here> cargo run
|
||||
//! ```
|
||||
//!
|
||||
//! </details>
|
||||
|
@ -162,7 +162,7 @@
|
|||
//! ```text
|
||||
//! git clone https://github.com/teloxide/teloxide.git
|
||||
//! cd teloxide/examples/simple_commands_bot
|
||||
//! TELOXIDE_TOKEN=MyAwesomeToken cargo run
|
||||
//! TELOXIDE_TOKEN=<Your token here> cargo run
|
||||
//! ```
|
||||
//!
|
||||
//! </details>
|
||||
|
@ -281,7 +281,7 @@
|
|||
//! ```text
|
||||
//! git clone https://github.com/teloxide/teloxide.git
|
||||
//! cd teloxide/examples/guess_a_number_bot
|
||||
//! TELOXIDE_TOKEN=MyAwesomeToken cargo run
|
||||
//! TELOXIDE_TOKEN=<Your token here> cargo run
|
||||
//! ```
|
||||
//!
|
||||
//! </details>
|
||||
|
|
Loading…
Reference in a new issue