你好,我制作了一个脚本来显示带有按钮的嵌入我试图在这个嵌入上添加图片并添加一些很酷的东西,但效果不佳
@client.event
async def on_ready():
print(f"Logged in as {client.user}")
@client.command()
async def invite(ctx):
embed = discord.Embed(title=f"FIVEM SPOOFER UNDETECTED 25/08/2021", color=0x00CC00, description=f"Working for 250 days & 14 Days / GLIFE Extinction / all server bans")
await buttons.send(
content = None,
embed = embed,
channel = ctx.channel.id,
components = [
ActionRow([
Button(
style = ButtonType().Success,
label = "Undetected",
custom_id = "clickbutton"
)
])
]
)
client.run("TOKEN")