Compare commits

..

No commits in common. "6a4b1f117bae262c8310ca72d80d09bedec5c037" and "c5bb53c0e7531c5487ab15bc328ad01a6e6e44c5" have entirely different histories.

4 changed files with 26 additions and 46 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.12-trixie AS base
FROM python:3.12-bookworm AS base
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

View File

@ -1,42 +1,27 @@
aiodynamo==24.7
aiohappyeyeballs==2.6.1
aiohttp==3.13.2
aiosignal==1.4.0
anyio==4.11.0
attrs==25.4.0
black==25.9.0
certifi==2025.10.5
cfgv==3.4.0
click==8.3.0
croniter==6.0.0
discord-py-interactions==5.15.0
aiodynamo==24.1
aiohttp==3.9.5
aiosignal==1.3.1
anyio==4.4.0
attrs==23.2.0
black==24.10.0
certifi==2024.7.4
croniter==2.0.5
discord-py-interactions==5.12.1
discord-typings==0.9.0
distlib==0.4.0
emoji==2.15.0
filelock==3.20.0
frozenlist==1.8.0
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
identify==2.6.15
idna==3.11
multidict==6.7.0
mypy_extensions==1.1.0
nodeenv==1.9.1
packaging==25.0
pathspec==0.12.1
platformdirs==4.5.0
pre_commit==4.3.0
propcache==0.4.1
emoji==2.12.1
frozenlist==1.4.1
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.7
multidict==6.0.5
pre-commit==4.0.1
python-dateutil==2.9.0.post0
python-dotenv==1.2.1
pytokens==0.2.0
pytz==2025.2
PyYAML==6.0.3
six==1.17.0
python-dotenv==1.0.1
pytz==2024.1
six==1.16.0
sniffio==1.3.1
tomli==2.3.0
typing_extensions==4.15.0
uvloop==0.22.1
virtualenv==20.35.4
yarl==1.22.0
tomli==2.0.1
typing_extensions==4.12.2
uvloop==0.21.0
yarl==1.9.4

View File

@ -8,7 +8,7 @@ from interactions.api.events import Startup
from token_bot.token_database import database as pdb
from token_bot.token_database import database as tdb
VERSION = "0.9.4"
VERSION = "0.9.3"
class Core(Extension):

View File

@ -320,11 +320,6 @@ class Tracker(Extension):
async def get_current_token(self, ctx: SlashContext, flavor: Flavor) -> str:
user: User = await self._users.get(ctx.user.id)
if user.region.name is None:
return (
f"Please register with a region before attempting to list alerts using\n"
"```/register```"
)
region = user.region.name
region_history = self._history_manager.get_history(flavor, user.region)
price_movement_str = format(region_history.last_price_movement, ",")