10 lines
268 B
Python
10 lines
268 B
Python
from discord_webhook import DiscordWebhook, DiscordEmbed
|
|
|
|
def send_message(url,title,content):
|
|
webhook = DiscordWebhook(url)
|
|
|
|
embed = DiscordEmbed(title=title, description=content, color="03b2f8")
|
|
|
|
webhook.add_embed(embed)
|
|
|
|
response = webhook.execute() |