Update Example.lua

This commit is contained in:
Norberto A 2020-02-28 23:47:23 +00:00 committed by GitHub
parent b91aa39d52
commit 0d13bdab4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
-- Writen by github.com/Limesey, @Norbunny on Roblox. -- Writen by github.com/Limesey, @Norbunny on Roblox.
local discord = require(script.Parent.Discord) local roHook = require(script.Parent.RoHook)
local message = discord.newMessage() local message = roHook.newMessage()
e = message.addEmbed("Title", "Description") e = message.addEmbed("Title", "Description")
e.addField("Name", "Value") 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.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")
@ -14,7 +14,7 @@ e.setTimestamp()
e.setFooter("Developed by Norbunny", "https://www.roblox.com/headshot-thumbnail/image?userId=76860346&width=420&height=420&format=png") 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)) e.setColor(Color3.new(0, 255, 0))
local success, err = discord:send(message) local success, err = roHook:send(message)
if(not success) then if(not success) then
warn(err) warn(err)