Skip to content

Commit ab10e51

Browse files
authored
1.8.0
### ✨ New Features - **Ban and Unban Commands:** Admins can now effortlessly manage users with `/ban` and `/unban`. - **Forced Channel Requirement:** Users may need to join a designated channel to access bot functionalities. - **Advanced Configuration System:** A new streamlined config system for easier customization. ### 🚀 Enhancements - **Increased Batch Link Limit:** Process up to **100 links** in a single batch for greater efficiency. - **Optimized Sequential Processing:** Batch handling is now more structured and streamlined. ### 🐛 Bug Fixes - **Security Patch Implemented:** Resolved a critical security issue to ensure a safer and more consistent experience. - **Improved Flood Wait Handling:** Enhanced rate limiting for better management of Telegram flood waits, ensuring smoother operation.
1 parent 084115c commit ab10e51

36 files changed

+3735
-3624
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 21 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,21 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
3-
*.py[cod]
4-
*$py.class
5-
6-
# C extensions
7-
*.so
8-
9-
# Distribution / packaging
10-
.Python
11-
build/
12-
develop-eggs/
13-
dist/
14-
downloads/
15-
eggs/
16-
.eggs/
17-
lib/
18-
lib64/
19-
parts/
20-
sdist/
21-
var/
22-
wheels/
23-
*.egg-info/
24-
.installed.cfg
25-
*.egg
26-
MANIFEST
27-
28-
# PyInstaller
29-
# Usually these files are written by a python script from a template
30-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31-
*.manifest
32-
*.spec
33-
34-
# Installer logs
35-
pip-log.txt
36-
pip-delete-this-directory.txt
37-
38-
# Unit test / coverage reports
39-
htmlcov/
40-
.tox/
41-
.nox/
42-
.coverage
43-
.coverage.*
44-
.cache
45-
nosetests.xml
46-
coverage.xml
47-
*.cover
48-
.hypothesis/
49-
.pytest_cache/
50-
51-
# Translations
52-
*.mo
53-
*.pot
54-
55-
# Django stuff:
56-
*.log
57-
local_settings.py
58-
db.sqlite3
59-
60-
# Flask stuff:
61-
instance/
62-
.webassets-cache
63-
64-
# Scrapy stuff:
65-
.scrapy
66-
67-
# Sphinx documentation
68-
docs/_build/
69-
70-
# PyBuilder
71-
target/
72-
73-
# Jupyter Notebook
74-
.ipynb_checkpoints
75-
76-
# IPython
77-
profile_default/
78-
ipython_config.py
79-
80-
# pyenv
81-
.python-version
82-
83-
# celery beat schedule file
84-
celerybeat-schedule
85-
86-
# SageMath parsed files
87-
*.sage.py
88-
89-
# Environments
90-
.env
91-
config.env
92-
.venv
93-
env/
94-
venv/
95-
ENV/
96-
env.bak/
97-
venv.bak/
98-
99-
# Spyder project settings
100-
.spyderproject
101-
.spyproject
102-
103-
# Rope project settings
104-
.ropeproject
105-
106-
# mkdocs documentation
107-
/site
108-
109-
# mypy
110-
.mypy_cache/
111-
.dmypy.json
112-
dmypy.json
113-
114-
# Pyre type checker
115-
.pyre/
116-
117-
#session files
118-
*.session
119-
Thunder/template/new.html
120-
Thunder/template/beta.html
121-
Thunder/template/style.css
1+
config.env
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

Dockerfile

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
FROM python:3.13-slim
2-
3-
ENV PYTHONUNBUFFERED=1 \
4-
PYTHONDONTWRITEBYTECODE=1
5-
6-
WORKDIR /app
7-
8-
RUN apt-get update && \
9-
apt-get install -y --no-install-recommends \
10-
git \
11-
build-essential \
12-
libssl-dev \
13-
&& apt-get clean && \
14-
rm -rf /var/lib/apt/lists/*
15-
16-
COPY requirements.txt .
17-
18-
RUN pip install --upgrade pip && \
19-
pip install --no-cache-dir -r requirements.txt
20-
21-
COPY . .
22-
23-
CMD ["python", "-m", "Thunder"]
1+
FROM python:slim
2+
3+
ENV PYTHONUNBUFFERED=1 \
4+
PYTHONDONTWRITEBYTECODE=1
5+
6+
WORKDIR /app
7+
8+
RUN apt-get update && \
9+
apt-get install -y --no-install-recommends \
10+
git \
11+
build-essential \
12+
libssl-dev \
13+
&& apt-get clean && \
14+
rm -rf /var/lib/apt/lists/*
15+
16+
COPY requirements.txt .
17+
18+
RUN pip install --upgrade pip && \
19+
pip install --no-cache-dir -r requirements.txt
20+
21+
COPY . .
22+
23+
CMD ["python", "-m", "Thunder"]

LICENSE

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
This is free and unencumbered software released into the public domain.
2-
3-
Anyone is free to copy, modify, publish, use, compile, sell, or
4-
distribute this software, either in source code form or as a compiled
5-
binary, for any purpose, commercial or non-commercial, and by any
6-
means.
7-
8-
In jurisdictions that recognize copyright laws, the author or authors
9-
of this software dedicate any and all copyright interest in the
10-
software to the public domain. We make this dedication for the benefit
11-
of the public at large and to the detriment of our heirs and
12-
successors. We intend this dedication to be an overt act of
13-
relinquishment in perpetuity of all present and future rights to this
14-
software under copyright law.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22-
OTHER DEALINGS IN THE SOFTWARE.
23-
24-
For more information, please refer to <https://unlicense.org>
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <https://unlicense.org>

0 commit comments

Comments
 (0)