-
카테고리
-
세부 분야
데스크톱 앱 개발
-
해결 여부
미해결
파이참 에서의 오류 입니다 discordbot 파일에서
22.08.12 05:38 작성 조회수 3.27k
0
Traceback (most recent call last):
File "C:\Users\220725\Desktop\discord\bot.py", line 4, in <module>
app = commands.Bot(command_prefix='/')
TypeError: __init__() missing 1 required keyword-only argument: 'intents'
실행하면 오류가 발생
오류가 발생합니다
답변을 작성해보세요.
0
김병원
질문자2022.08.28
from discord.ext import commands
intents =discord.Intents.all
token=()
app = commands.Bot(command_preffix intents=intents)
0
답변 2