You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
282 B
Python
10 lines
282 B
Python
3 years ago
|
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
|