did stuff
This commit is contained in:
parent
51a9fdfc1e
commit
fa36a36177
@ -72,8 +72,10 @@ end
|
|||||||
function addTutelToTutelServer()
|
function addTutelToTutelServer()
|
||||||
local tutelServer = getTutelServerAddress()
|
local tutelServer = getTutelServerAddress()
|
||||||
local telegramInfo = getTelegramInfo()
|
local telegramInfo = getTelegramInfo()
|
||||||
http.post(tutelServer .. "/tutel/add?label=" .. os.getComputerLabel() .. "&telegramUserId=" .. telegramInfo["telegramUserId"], "")
|
local label = os.getComputerLabel()
|
||||||
telegramNotifier("Added Tutel to your Account: " .. os.getComputerLabel())
|
local escapedLabel = string.gsub(label, "-", "\\-")
|
||||||
|
http.post(tutelServer .. "/tutel/add?label=" .. label .. "&telegramUserId=" .. telegramInfo["telegramUserId"], "")
|
||||||
|
telegramNotifier("Tutel was added to your Account: " .. escapedLabel)
|
||||||
end
|
end
|
||||||
|
|
||||||
function splitStringToArray(inputStr)
|
function splitStringToArray(inputStr)
|
||||||
|
Loading…
Reference in New Issue
Block a user