Trying to implement embedded messages for my discord bot using interactions. The following is the code with the error message under it.
import interactions
import discord
bot = interactions.Client(token="<REDACTED>")
@bot.command(
name="test",
description="Tests"
)
async def test(ctx: interactions.CommandContext):
embed = interactions.Embed(
title="testing",
description="test purposes"
)
await ctx.send(embed = embed)
Error Message:
payload = await super().send(content, **kwargs)
TypeError: _Context.send() got an unexpected keyword argument 'embed'