Skip to content

Commit

Permalink
remove legacy; new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed May 31, 2024
1 parent 5281f4b commit 05fc14f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion alexBot/cobalt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import aiohttp

ENDPOINT = "https://co.wuk.sh"
ENDPOINT = "https://api.cobalt.tools"


DEFAULT_HEADERS = {"Accept": "application/json", "Content-Type": "application/json", "User-Agent": "alexBot/1.0"}
Expand Down
1 change: 0 additions & 1 deletion alexBot/cogs/smartHome.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ async def send_notification(self, user_id: int, title: str, members: List[discor
json={
"content": content,
"title": title,
"target_device": USER_TO_HA_DEVICE[user_id], # legacy, remove soon
"discord_id": user_id,
"channel": "vcNotifs",
"group": "vcNotifs",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
depends_on:
- db
environment:
- DATABASE_URL=postgresql://alexbot:alexbot@db/alexbot

env_file:
- .env
db:
Expand Down
3 changes: 2 additions & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ FROM python:3.12
WORKDIR /alexbot


RUN apt update && apt install -y libopus0 git && rm -rf /var/lib/apt/lists/*

COPY requirements.txt /alexbot/requirements.txt

RUN pip install -U -r /alexbot/requirements.txt --no-cache-dir



COPY . /alexbot
# always install newest discord.py
RUN pip install -U 'discord.py[voice] @ git+https://github.com/rapptz/discord.py' --no-cache-dir
Expand Down

0 comments on commit 05fc14f

Please sign in to comment.