Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
How the heck did I not see these
  • Loading branch information
Jodenee committed Jul 19, 2024
1 parent 2c2e74f commit 9373572
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/gamepassPurchaseNotification.server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ marketplaceService.PromptGamePassPurchaseFinished:Connect(function(player : Play
if not wasPurchased then return end

local gamepassInfo = marketplaceService:GetProductInfo(gamepassid, Enum.InfoType.GamePass)
local embed = require(voyager.Embed).new()
local embed = voyager.Embed.new()
:SetColor(Color3.fromRGB(85, 255, 127))
:SetTimestamp()
:SetAuthor(
Expand Down
2 changes: 1 addition & 1 deletion examples/playerFeedback.server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local voyager = require(game:GetService("ServerStorage").voyager)
local webhook = voyager.Webhook.new("webhookId", "webhookToken")

sendFeedbackRemote.OnServerEvent:Connect(function(player : Player, feedback : string)
local embed = require(voyager.Embed).new()
local embed = voyager.Embed.new()
:SetDescription(feedback)
:SetColor(Color3.fromRGB(0, 135, 255))
:SetTimestamp()
Expand Down
2 changes: 1 addition & 1 deletion examples/playerReport.server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local voyager = require(game:GetService("ServerStorage").voyager)
local webhook = voyager.Webhook.new("webhookId", "webhookToken")

sendReportRemote.OnServerEvent:Connect(function(player : Player, reportedPlayer : Player, report : string, reason : string)
local embed = require(voyager.Embed).new()
local embed = voyager.Embed.new()
:SetDescription(report)
:SetColor(Color3.fromRGB(255, 0, 0))
:SetTimestamp()
Expand Down

0 comments on commit 9373572

Please sign in to comment.