我不知道如何正确使用Embed的 set_footer消息。
编码:
async def findteam(ctx):
await ctx.channel.purge(limit = 1)
global teamList
if len(teamList) > 0:
open_teamList = "\n\n".join(teamList)
embed = discord.Embed(
title = "Список игроков:",
description = open_teamList,
set_footer ="Список очистится ",
timestamp = futureTime,
colour = discord.Colour.from_rgb(170, 110, 0))
await ctx.send(embed = embed)
else:
await ctx.send("Список пуст!")
请告诉我!
在 await ctx.send 之前写
embed.set_footer()