diff --git a/Dockercompose b/Dockercompose new file mode 100644 index 0000000..742061c --- /dev/null +++ b/Dockercompose @@ -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" ] diff --git a/main.py b/main.py index 5582259..2725308 100644 --- a/main.py +++ b/main.py @@ -7,8 +7,7 @@ from disnake.ext import commands,tasks load_dotenv('.env') intents = disnake.Intents().all() -bot = commands.Bot( - command_preifx='%', +bot = commands.InteractionBot( sync_commands_debug=False, intents=intents )