Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SharliBeicon authored Jun 12, 2024
1 parent 219fa21 commit 617f536
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# A fully functional AI Powered Telegram bot

## Setup guide
### Add environment variables
1. Install Rust with [rustup](http://rustup.rs/).
2. Create a Telegram bot with [@BotFather](https://t.me/botfather) and get the token
3. Create an [OpenAI API Platform account](https://openai.com/api/) and get both API Token and Organization Id
4. Add environment variables
```bash
- TELOXIDE_TOKEN= "/* Your Telegram Bot API Key */"
- OPENAI_API_KEY= "/* Your OpenAI API Key */"
- OPENAI_ORG_ID= "/* Your OpenAI Organization ID */"
```
### Put these lines into your Cargo.toml
5. Put these lines into your Cargo.toml
```toml
[dependencies]
telitairos-bot = "0.1.1"
Expand Down

0 comments on commit 617f536

Please sign in to comment.