From 0d13bdab4ba782b3cb31b746a0da5ea33c9d01ee Mon Sep 17 00:00:00 2001 From: Norberto A <41595007+Limesey@users.noreply.github.com> Date: Fri, 28 Feb 2020 23:47:23 +0000 Subject: [PATCH] Update Example.lua --- Example.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Example.lua b/Example.lua index b6bb9d6..7cc5c74 100644 --- a/Example.lua +++ b/Example.lua @@ -2,9 +2,9 @@ -- 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.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") @@ -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.setColor(Color3.new(0, 255, 0)) -local success, err = discord:send(message) +local success, err = roHook:send(message) if(not success) then warn(err)