Update 2
This commit is contained in:
parent
efe8fdf923
commit
1651903879
|
@ -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" ]
|
3
main.py
3
main.py
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue