Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: add readable log #1

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading