Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
Open
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: 0 additions & 2 deletions .env.prod

This file was deleted.

3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLIENT_PUBLIC_KEY="..."
APPLICATION_ID="..."
TOKEN="..."
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
*.pyd
__pycache__
.pytest_cache
.DS_Store
.env
.DS_Store
5 changes: 5 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[settings]
multi_line_output=3
force_grid_wrap=3
include_trailing_comma=true
lines_after_imports=2
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY requirements.txt .

RUN pip install --no-cache-dir -r requirements.txt

COPY src/ ./src/
COPY .env.* ./
COPY src/ ./
COPY .env* ./

CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 src.main:app
CMD exec python main.py
167 changes: 0 additions & 167 deletions commands.json

This file was deleted.

26 changes: 5 additions & 21 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
blinker==1.8.2
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
discord-interactions==0.4.0
Flask==3.0.3
gunicorn==22.0.0
idna==3.7
itsdangerous==2.2.0
Jinja2==3.1.4
MarkupSafe==2.1.5
packaging==24.0
pillow==10.3.0
pycparser==2.22
PyNaCl==1.5.0
python-dotenv==1.0.1
requests==2.32.3
setuptools==70.0.0
urllib3==2.2.1
Werkzeug==3.0.3
httpcord
uvicorn
python-dotenv
pillow
setuptools
28 changes: 0 additions & 28 deletions scripts/register_commands.py

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
clear
python -m src.main
python ./src/main.py
Loading