Skip to content
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: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions.txt
bot/test*.py
bot/test
bot/config_test*.cfg
bot/config.cfg
bot/config_prod.cfg
bot/google_api_secret_test*.json
bot/google_api_secret.json
secret/
Expand Down
2 changes: 1 addition & 1 deletion commands/discord_bot_launcher.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

cd "$(dirname "$0")"/../bot || exit
python3.11 -u main.py >> ../../POG-data/logging/discord_bot.out 2>&1
uv run main.py >> ../../POG-data/logging/discord_bot.out 2>&1
4 changes: 2 additions & 2 deletions commands/pog.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function my_start
mkdir -p ../POG-data
mkdir -p ../POG-data/logging
mkdir -p ../POG-data/matches
nohup python3.11 -m pdm run commands/pog_launcher.py >> ../POG-data/logging/launcher.out 2>&1 &
nohup uv run commands/pog_launcher.py >> ../POG-data/logging/launcher.out 2>&1 &
echo "Bot started..."
fi
}
Expand Down Expand Up @@ -88,7 +88,7 @@ function my_update

chmod a+x commands/*
cp ../POG-data/secret/* bot/
python3.11 -m pdm install --prod
uv sync --frozen
}

function my_discord_log
Expand Down
Empty file modified commands/pog_launcher.py
100644 → 100755
Empty file.
Empty file modified commands/ts3_bot_launcher.sh
100644 → 100755
Empty file.
688 changes: 0 additions & 688 deletions pdm.lock

This file was deleted.

31 changes: 6 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,19 @@
[project]
name = ""
version = ""
description = ""
authors = [
{name = "YakMM", email = "[email protected]"},
]
name = "pog-bot"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = "==3.11.*"
dependencies = [
"discord.py @ git+https://github.com/yakMM/[email protected]",
"requests==2.31.0",
"numpy==1.26.4",
"pytz==2024.1",
"aiohttp==3.7.4.post0",
"aiohttp==3.12.14",
"pymongo==4.6.3",
"gspread==6.1.0",
"python-dateutil==2.8.2",
"schedule==1.2.1",
"Pillow==9.5.0"
]
requires-python = "==3.11.*"
license = {text = "MIT"}


[tool.pdm]
[[tool.pdm.source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[tool.pdm.dev-dependencies]
dev = [
"sphinx==6.1.3",
"sphinx-rtd-theme==1.2.0",
]

[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
456 changes: 456 additions & 0 deletions uv.lock

Large diffs are not rendered by default.