Compare commits

..

No commits in common. "f709c286fa7528308d3e14dadff80bad6ffeeea6" and "4a091fd9fde29f02dc198c8f8cb2f7796fa5ba16" have entirely different histories.

4 changed files with 2 additions and 22 deletions

View file

@ -1,5 +0,0 @@
/config/
/data/
/modules/__pycache__
/whitelist/
/.gitignore

View file

@ -1,15 +0,0 @@
# Basis-Image
FROM python:3.12-slim-bookworm
# Arbeitsverzeichnis setzen
WORKDIR /app
# Abhängigkeiten kopieren und installieren
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Anwendungsdateien kopieren
COPY . .
# Startbefehl
CMD ["python", "./main.py"]

View file

@ -46,4 +46,6 @@ async def allow(ctx:slash.Context, user:slash.Option(description="der zu whiteli
if await functions.isMod(ctx, bot): if await functions.isMod(ctx, bot):
await functions.cmdallow(ctx, user.strip(), bot) await functions.cmdallow(ctx, user.strip(), bot)
bot.run(token) bot.run(token)

View file

@ -3,7 +3,6 @@ import json
import requests import requests
import urllib import urllib
import random import random
import asyncio
from os import path from os import path
from shutil import copyfile from shutil import copyfile
@ -68,7 +67,6 @@ async def cmdshutdown(ctx:slash.Context, bot):
print('Start logging out') print('Start logging out')
await bot.logout() await bot.logout()
bot.clear() bot.clear()
asyncio.run(bot.close())
print('Log Out succesful\nExiting') print('Log Out succesful\nExiting')
exit() exit()
else: else: