Skip to content

Commit

Permalink
Merge branch 'main' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
SpudsTheCyan authored Sep 1, 2023
2 parents 575c5f6 + 0da31fa commit dc4a5be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ RUN pip install -r requirements.txt

RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y

COPY . .
COPY /cogs/ /app/cogs/
COPY ifunny_watermark.jpg /app/
COPY logging.conf /app/
COPY main.py /app/
COPY requirements.txt /app/

CMD [ "python3", "main.py" ] ["sudo", "/sbin/ldconfig -v"]
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logger.info(f"Program started!")

# gets bot token from env
BOT_TOKEN = os.getenv("BOT_TOKEN")
BOT_TOKEN = os.getenv("TOKEN")

# defines the bot obj
intents = discord.Intents.default()
Expand Down

0 comments on commit dc4a5be

Please sign in to comment.