This commit is contained in:
Thomas Hodnemyr 2022-09-09 18:47:06 +02:00
parent efe8fdf923
commit 1651903879
2 changed files with 11 additions and 2 deletions

10
Dockercompose Normal file
View File

@ -0,0 +1,10 @@
FROM python:3
RUN mkdir -p /usr/src/bot
WORKDIR /usr/src/bot
COPY . .
RUN pip3 install -r requirements.txt
CMD [ "python3", "main.py" ]

View File

@ -7,8 +7,7 @@ from disnake.ext import commands,tasks
load_dotenv('.env') load_dotenv('.env')
intents = disnake.Intents().all() intents = disnake.Intents().all()
bot = commands.Bot( bot = commands.InteractionBot(
command_preifx='%',
sync_commands_debug=False, sync_commands_debug=False,
intents=intents intents=intents
) )