Skip to content

Commit

Permalink
fix everything
Browse files Browse the repository at this point in the history
  • Loading branch information
artifishvr committed Apr 23, 2024
1 parent 1e2975e commit 83d825f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-alpine
FROM python:3.9

WORKDIR /app

Expand All @@ -7,4 +7,4 @@ RUN pip install -r requirements.txt

COPY . .

CMD [ "python3", "bot.py" ]
CMD [ "python", "./bot.py" ]
3 changes: 3 additions & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
import os
import requests
from discord.ext import commands
import os
from dotenv import load_dotenv

load_dotenv()
intents = discord.Intents.default()
intents.message_content = True
client = commands.Bot(command_prefix="[[", intents=intents)
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
discord.py
python-dotenv
requests
requests
python-dotenv

0 comments on commit 83d825f

Please sign in to comment.