import discord intents = discord.Intents.default() intents.members = True from discord.ext import commands bot = commands.Bot(command_prefix='!', intents=intents)
intents = discord.Intents.default() intents.members = True bot = discord.Client(intents=intents)