I tried to add a file from my local device into a discord.py embed. Here's my code below, although its not working please help me
import discord
from discord.ext import commands
client = commands.Bot(command_prefix="!")
@client.command
async def pika(ctx):
file = discord.File("E:\Python\discord.py\Pikachu1.jpg", filename="image.jpg")
embed = discord.Embed(color=0xFFFFFF)
embed.set_image(url="E:\Python\discord.py\Pikachu1.jpg")
await ctx.send(file=file, embed=embed)