diff --git a/src/webhook.lua b/src/webhook.lua index dee432b..a08daf4 100644 --- a/src/webhook.lua +++ b/src/webhook.lua @@ -35,6 +35,9 @@ expect(5, transactionID, "number") expect(6, addrs, "string") + local kristweb = "[KristWeb](https://krist.club/network/transactions/" .. transactionID .. ")" + local openWithURI = " (URI)" + local data = { content = "", username = "Kristify", @@ -42,7 +45,6 @@ embeds = { { title = user .. " bought " .. item, - url = "https://krist.club/network/transactions/" .. transactionID, color = "16750744", fields = { { @@ -57,6 +59,10 @@ name = "Krist earned", value = total }, + { + name = "Open with", + value = kristweb .. " or " .. openWithURI + } }, author = { name = "Someone bought something!"