작성
·
6.2K
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'
------------------------------------------------------------------------------
도와주시면 감사하겠습니다(__)