Skip to content

Commit

Permalink
enhance: add readable log
Browse files Browse the repository at this point in the history
  • Loading branch information
JesuisTong committed Aug 1, 2024
1 parent 1dc6621 commit 3b1f75c
Show file tree
Hide file tree
Showing 6 changed files with 196 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
repo: context.repo.repo,
tag_name: `athene_network_bot_v${{steps.read_toml.outputs.value}}`,
name: `Athene Bot v${{steps.read_toml.outputs.value}}`,
body: 'Take a look at the assets to download and install this app.',
body: `${{ github.event.head_commit.message }}`,
draft: true,
prerelease: false
})
Expand Down
167 changes: 162 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[package]
name = "athene_bot"
version = "0.0.1"
version = "0.0.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
base64 = "0.22.1"
chrono = "0.4.38"
colog = "1.3.0"
futures = "0.3.30"
log = "0.4.22"
percent-encoding = "2.3.1"
rand = "0.8.5"
reqwest = "0.12.5"
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,21 @@ A telegram mini GameFI project, you can earn **gem** \ **ATH token** by **gold**

## Usage

> **!!! use it in your commandline.**
1. Download your app from release page.

2. Grab your `athene-network` URL from [Telegram Web APP](https://web.telegram.org/k/#@athene_official_bot).

3. Make sure that `user.json` must be same directory with `athene_bot`.

### user.json
This bot use `user.json` in the same directory to login and claim your rewards, the schema like this:
```json
{
"{different account alias name}": {
"link": "{your link}",
"access_token": "your access_token, most of time, generated by link after first run",
"access_token": "Your access_token, most of time, generated by link after first run.",
"invite_code": "{your invite code}"
}
}
Expand Down
Loading

0 comments on commit 3b1f75c

Please sign in to comment.