Open ghost opened 1 year ago
Traceback (most recent call last): File "main.py", line 17, in bot = commands.Bot(command_prefix='!', TypeError: init() missing 1 required keyword-only argument: 'intents'
Should get this fixed.
Enable all privileged gateway intents in Discord Developer Portal
And replace this code with bot = commands.Bot(command_prefix='!',...)
:
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix="!", intents=intents)
Traceback (most recent call last): File "main.py", line 17, in
bot = commands.Bot(command_prefix='!',
TypeError: init() missing 1 required keyword-only argument: 'intents'
Should get this fixed.