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