Closed WISH12345 closed 1 year ago
Discord is asking for intents
ran the code supplied
import discord from discord.ext import commands token = "TOKEN HERE" bot = commands.Bot(command_prefix='>', self_bot=True) @bot.command() async def ping(ctx): await ctx.send('pong') bot.run('token')
expected result: working selfbot
Traceback (most recent call last): File "c:\Users\WSH3\Downloads\grindbot 2\test.py", line 6, in bot = commands.Bot(command_prefix='>', self_bot=True) TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'
No response
As evident by your system information, you are using upstream discord.py, not this fork. You cannot have both installed in the same environment.
Summary
Discord is asking for intents
Reproduction Steps
ran the code supplied
Code
Expected Results
expected result: working selfbot
Actual Results
Traceback (most recent call last): File "c:\Users\WSH3\Downloads\grindbot 2\test.py", line 6, in
bot = commands.Bot(command_prefix='>', self_bot=True)
TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'
System Information
Checklist
Additional Information
No response