Attempting to follow an "updated" version of a Self-Bot tutorial for Discord. I have (I believe) everything setup to make said self-bot. I have some very basic Python experience, but absolutely none when it comes to using Python with Discord. At this moment the main.py will not run due to an error which I am absolutely beat at troubleshooting myself.
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix= > , self_bot=True)
@bot.command()
async def ping(ctx):
await ctx.send( Pong! )
TOKEN = xxx
bot.run(TOKEN)
I tried using what an older StackOverflow question recommended, and inserted a line of code related to the intents the error is referencing, but was given the same error upon attempting to run the script.