# Initialize Bot intents = discord.Intents.default() intents.members = True bot = commands.Bot(command_prefix='!', intents=intents)