Discord 봇 입문하는데 에러가 절 반기네요~
6281
김규민
작성한 질문수 3
0
코드:
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix='!')
@bot.event
async def on_ready():
print('다음으로 로그인합니다: ')
print(bot.user.name)
print('connection was succesful')
await bot.change_presence(status=discord.Status.online, activity=None)
@bot.command()
async def 따라하기(ctx, *, text):
await ctx.send(text)
bot.run("exampleCode")
-----------------------------------------------------------------------------
에러 내용:
Exception has occurred: TypeError
BotBase.__init__() missing 1 required keyword-only argument: 'intents'
------------------------------------------------------------------------------
도와주시면 감사하겠습니다(__)
답변 1
상금은 언제 받을 수 있나요?
4
71
0
4강 카드뉴스 자동화 자료
4
51
1
Issuance 테이블에 status, couponId 인덱스가 꼭 필요할까요?
2
53
1
31강 학습자료에 프롬프트가 엉뚱한것이 있어요
1
45
1





