Simple Discord Bot

Just need help to fix one line of code. Who’s willing to help. Probably will take 2 minutes max.


bot = commands.Bot(command_prefix='!', intents=discord.Intents(guilds=True))

As for the last line: use secrets to store and use your token from the ‘bot’ section of your app in the discord developer portal


I’m willing to help if it hasn’t already been solved