10 lines
282 B
Python
10 lines
282 B
Python
import discord
|
|
from datetime import date
|
|
|
|
|
|
def messageEmbed(title, text, owner, icon):
|
|
embed = discord.Embed(color=0xffd540)
|
|
embed.add_field(name=f"{title}", value=f"{text}")
|
|
embed.set_footer(text=f"© {owner} • {date.today()}", icon_url=f"{icon}")
|
|
return embed
|