From 0db890bb95022853c53d58047afe032037c1142a Mon Sep 17 00:00:00 2001 From: Norberto A <41595007+Limesey@users.noreply.github.com> Date: Fri, 28 Feb 2020 21:18:52 +0000 Subject: [PATCH] Update Example.lua --- Example.lua | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Example.lua b/Example.lua index 1946944..b6bb9d6 100644 --- a/Example.lua +++ b/Example.lua @@ -1,4 +1,21 @@ -- Script type: Script -- Writen by github.com/Limesey, @Norbunny on Roblox. --- SOONTM + +local discord = require(script.Parent.Discord) + +local message = discord.newMessage() +e = message.addEmbed("Title", "Description") +e.addField("Name", "Value") +e.setAuthor("Norbunny","https://www.roblox.com/headshot-thumbnail/image?userId=76860346&width=420&height=420&format=png", "https://www.roblox.com/headshot-thumbnail/image?userId=76860346&width=420&height=420&format=png") +e.setThumbnail("https://www.roblox.com/headshot-thumbnail/image?userId=76860346&width=420&height=420&format=png") +e.setImage("https://www.roblox.com/headshot-thumbnail/image?userId=76860346&width=420&height=420&format=png") +e.setTimestamp() +e.setFooter("Developed by Norbunny", "https://www.roblox.com/headshot-thumbnail/image?userId=76860346&width=420&height=420&format=png") +e.setColor(Color3.new(0, 255, 0)) + +local success, err = discord:send(message) + +if(not success) then + warn(err) +end