Error: line 10, in bot = discord.Bot(command_prefix='$', activity=activity, status=discord.Status.online,intents=discord.Intents.all()) AttributeError: module 'discord' has no attribute 'Bot'
Code: import discord, json, requests, os, httpx, base64, time, subprocess from discord.ext import commands, tasks from colorama import Fore, init import ctypes import random import string
activity = discord.Activity(type=discord.ActivityType.watching, name="")
bot = discord.Bot(command_prefix='$', activity=activity, status=discord.Status.online, intents=discord.Intents.all())
FIXED i did pip install -U git+https://github.com/Pycord-Development/pycord and then changed bot = discord.Bot to bot = commands.Bot