modified: Dockerfile
modified: bot.py
This commit is contained in:
@@ -25,6 +25,8 @@ ENV FLASK_SECRET_KEY=$FLASK_SECRET_KEY
|
|||||||
ENV ADMIN_USER=$ADMIN_USER
|
ENV ADMIN_USER=$ADMIN_USER
|
||||||
ENV ADMIN_PASS=$ADMIN_PASS
|
ENV ADMIN_PASS=$ADMIN_PASS
|
||||||
ENV FLASK_ENV=development
|
ENV FLASK_ENV=development
|
||||||
|
ENV VISION_ENABLED=$VISION_ENABLED
|
||||||
|
ENV ASKMULTUS_ENABLED=$ASKMULTUS_ENABLED
|
||||||
|
|
||||||
# Startbefehl für das Webpanel
|
# Startbefehl für das Webpanel
|
||||||
CMD ["python", "app.py"]
|
CMD ["python", "app.py"]
|
||||||
|
|||||||
4
bot.py
4
bot.py
@@ -82,8 +82,8 @@ intents = discord.Intents.default()
|
|||||||
intents.message_content = True
|
intents.message_content = True
|
||||||
intents.reactions = True
|
intents.reactions = True
|
||||||
python = sys.executable
|
python = sys.executable
|
||||||
vision_enabled = False
|
vision_enabled = bool.getenv("VISION_ENABLED")
|
||||||
askmultus_enabled = True
|
askmultus_enabled = bool.getenv("ASKMULTUS_ENABLED")
|
||||||
|
|
||||||
client = commands.Bot(command_prefix='-', intents=intents, owner_id = OWNER_ID)
|
client = commands.Bot(command_prefix='-', intents=intents, owner_id = OWNER_ID)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user