Compare commits
50 Commits
Author | SHA1 | Date | |
---|---|---|---|
a5680538b2 | |||
8ba4648404 | |||
3fba994ed3 | |||
ae31d36641 | |||
fb958d3e11 | |||
30426486ef | |||
754cc86ace | |||
6b0c154f02 | |||
734ef19f16 | |||
892528a0a8 | |||
5b7bca03b9 | |||
29f3181a9a | |||
d6ed98b465 | |||
86548cee62 | |||
3337418ece | |||
f3f4063edb | |||
8d72151595 | |||
c9e80087fb | |||
3d6201a8c9
|
|||
7c2e636621
|
|||
cb3ec42f95 | |||
43557d6c65 | |||
b008b7158c | |||
6569ff308f | |||
bc740ae6c8 | |||
851c3d2399 | |||
c1ef0778cd | |||
b602a6ecef | |||
6cd54a54f9 | |||
270a99cd85 | |||
edd58eb830 | |||
69e8196f6f | |||
fc8c3ac7d2 | |||
f132b69750 | |||
1176d599cd | |||
1a5d402cb0 | |||
e52e3a6a36 | |||
594b393b71 | |||
0a61d9549c | |||
d626d96eff | |||
81947b502c | |||
6afb65dfca | |||
0a1d029ed8 | |||
623be3e8ea | |||
fde956d2bc | |||
83efc26aa5 | |||
3d139fda27
|
|||
dffa29705f | |||
6ee5c227c6 | |||
57d4d1ce5c |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -161,5 +161,5 @@ venv
|
||||
venv_linux
|
||||
venv_windows
|
||||
|
||||
.vscode
|
||||
.vscode/
|
||||
data/
|
17
.renovaterc
17
.renovaterc
@@ -2,5 +2,20 @@
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:base"
|
||||
],
|
||||
"baseBranches": [
|
||||
"dev"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch",
|
||||
"pin",
|
||||
"digest"
|
||||
],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
17
README.md
17
README.md
@@ -4,6 +4,8 @@
|
||||
|
||||
Simple yet helpful bot to check BWT Aqua's card balance
|
||||
|
||||
> ⚠️ Please note that this branch is made for testing only so it can sometimes work strange or do not work at all.
|
||||
|
||||
## Requirements
|
||||
|
||||
* Python 3.8+
|
||||
@@ -14,16 +16,19 @@ Simple yet helpful bot to check BWT Aqua's card balance
|
||||
1. Download package
|
||||
1. `git clone https://git.end-play.xyz/profitroll/BWTAqua.git`
|
||||
2. `cd BWTAqua`
|
||||
|
||||
2. Create venv
|
||||
1. `python3 -m venv .venv`
|
||||
2. `source .venv/bin/activate`
|
||||
3. Install needed modules:
|
||||
|
||||
3. Install needed modules
|
||||
* `pip install -r requirements.txt`
|
||||
4. Configure the bot:
|
||||
1. `cd ..`
|
||||
2. `nano config.json` (You can use any other text editor actually, for example `vim`)
|
||||
5. Run the bot:
|
||||
* `python bwtbot.py`
|
||||
|
||||
4. Configure the bot
|
||||
* `nano config.json` (You can use any other text editor actually, for example `vim`)
|
||||
|
||||
5. Run the bot
|
||||
* `python main.py`
|
||||
|
||||
## Configuration
|
||||
|
||||
|
7
modules/app.py
Normal file
7
modules/app.py
Normal file
@@ -0,0 +1,7 @@
|
||||
#-*- coding: utf-8 -*-
|
||||
|
||||
from pyrogram.client import Client
|
||||
from functions import jsonLoad
|
||||
|
||||
config = jsonLoad("config.json")
|
||||
app = Client(config["bot_name"], api_id=config["api_id"], api_hash=config["api_hash"], bot_token=config["bot_token"])
|
@@ -1,10 +1,10 @@
|
||||
apscheduler~=3.10.4
|
||||
beautifulsoup4~=4.12.2
|
||||
convopyro==0.5
|
||||
pykeyboard==0.1.5
|
||||
pykeyboard==0.1.7
|
||||
requests-html==0.10.0
|
||||
selenium~=4.11.2
|
||||
selenium~=4.23.0
|
||||
tgcrypto==1.2.5
|
||||
uvloop==0.17.0
|
||||
uvloop==0.20.0
|
||||
--extra-index-url https://git.end-play.xyz/api/packages/profitroll/pypi/simple
|
||||
libbot[speed,pyrogram]==2.0.1
|
||||
libbot[speed,pyrogram]==3.2.3
|
||||
|
Reference in New Issue
Block a user