-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79e34ba
commit 872c603
Showing
30 changed files
with
1,666 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.env | ||
|
||
sessions/ | ||
|
||
app_data/* | ||
!app_data/.gitkeep | ||
|
||
.idea/ | ||
|
||
__pycache__ | ||
|
||
*.session | ||
|
||
*.cpython-310.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM python:3.10.11-alpine3.18 | ||
|
||
WORKDIR app/ | ||
|
||
COPY requirements.txt requirements.txt | ||
|
||
RUN pip3 install --upgrade pip setuptools wheel | ||
RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["python3", "main.py", "-a", "1"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .config import settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from pydantic_settings import BaseSettings, SettingsConfigDict | ||
|
||
|
||
class Settings(BaseSettings): | ||
model_config = SettingsConfigDict(env_file=".env", env_ignore_empty=True) | ||
|
||
API_ID: int | ||
API_HASH: str | ||
|
||
SLEEP_TIME: list[int] = [426, 4260] | ||
START_DELAY: list[int] = [1, 240] | ||
ERROR_THRESHOLD: int = 5 | ||
TIME_WINDOW_FOR_MAX_ERRORS: int = 240 | ||
ERROR_THRESHOLD_SLEEP_DURATION: int = 3600 | ||
SLEEP_AFTER_EACH_ERROR: int = 30 | ||
AUTO_TASK: bool = False | ||
TASKS_TO_DO: list[str] = ["paint20pixels", "x:notpixel", "x:notcoin", "channel:notcoin", "channel:notpixel_channel"] | ||
AUTO_DRAW: bool = True | ||
JOIN_TG_CHANNELS: bool = True | ||
CLAIM_REWARD: bool = True | ||
AUTO_UPGRADE: bool = True | ||
REF_ID: str = 'f411905106' | ||
IGNORED_BOOSTS: list[str] = [] | ||
IN_USE_SESSIONS_PATH: str = 'app_data/used_sessions.txt' | ||
PALETTE: list[str] = ["#e46e6e", "#FFD635", "#7EED56", "#00CCC0", "#51E9F4", "#94B3FF", "#E4ABFF", | ||
"#FF99AA", "#FFB470", "#FFFFFF", "#BE0039", "#FF9600", "#00CC78", "#009EAA", | ||
"#3690EA", "#6A5CFF", "#B44AC0", "#FF3881", "#9C6926", "#898D90", "#6D001A", | ||
"#bf4300", "#00A368", "#00756F", "#2450A4", "#493AC1", "#811E9F", "#a00357", | ||
"#6D482F", "#000000"] | ||
DRAW_IMAGE: bool = False | ||
DRAWING_START_COORDINATES: list[int] = [0, 0] | ||
IMAGE_PATH: str = "10x10.png" | ||
ENABLE_3X_REWARD: bool = True | ||
|
||
|
||
settings = Settings() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
upgrades = { | ||
"paintReward": { | ||
"levels": { | ||
2: { | ||
"Price": 5, | ||
"Boost": 1.5 | ||
}, | ||
3: { | ||
"Price": 100, | ||
"Boost": 2 | ||
}, | ||
4: { | ||
"Price": 200, | ||
"Boost": 2.5 | ||
}, | ||
5: { | ||
"Price": 300, | ||
"Boost": 3 | ||
}, | ||
6: { | ||
"Price": 500, | ||
"Boost": 3.5 | ||
}, | ||
7: { | ||
"Price": 600, | ||
"Boost": 4, | ||
"Max": True | ||
} | ||
} | ||
}, | ||
"reChargeSpeed": { | ||
"levels": { | ||
2: { | ||
"Price": 5, | ||
"ChargeBoost": 57e4 | ||
}, | ||
3: { | ||
"Price": 100, | ||
"ChargeBoost": 54e4 | ||
}, | ||
4: { | ||
"Price": 200, | ||
"ChargeBoost": 51e4 | ||
}, | ||
5: { | ||
"Price": 300, | ||
"ChargeBoost": 48e4 | ||
}, | ||
6: { | ||
"Price": 400, | ||
"ChargeBoost": 45e4 | ||
}, | ||
7: { | ||
"Price": 500, | ||
"ChargeBoost": 42e4 | ||
}, | ||
8: { | ||
"Price": 600, | ||
"ChargeBoost": 39e4 | ||
}, | ||
9: { | ||
"Price": 700, | ||
"ChargeBoost": 36e4 | ||
}, | ||
10: { | ||
"Price": 800, | ||
"ChargeBoost": 33e4 | ||
}, | ||
11: { | ||
"Price": 900, | ||
"ChargeBoost": 3e5, | ||
"Max": True | ||
} | ||
} | ||
}, | ||
"energyLimit": { | ||
"levels": { | ||
2: { | ||
"Price": 5, | ||
"Boost": 6 | ||
}, | ||
3: { | ||
"Price": 100, | ||
"Boost": 7 | ||
}, | ||
4: { | ||
"Price": 200, | ||
"Boost": 8 | ||
}, | ||
5: { | ||
"Price": 300, | ||
"Boost": 9 | ||
}, | ||
6: { | ||
"Price": 400, | ||
"Boost": 10, | ||
"Max": True | ||
} | ||
} | ||
} | ||
} |
Empty file.
Oops, something went wrong.