summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-04 17:44:22 +0500
committerilotterytea <iltsu@alright.party>2025-12-04 17:44:22 +0500
commit0c8746bb0e8ca470a7f682d3fcfb7a756bb9c6a5 (patch)
treee749e92bc26af8ed02c43c7503a63b4236495538
parentab99a11d68b11db21cb5250fb2c2ce67cad92a3a (diff)
upd: !ping response
-rw-r--r--luamods/ping.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/luamods/ping.lua b/luamods/ping.lua
index aa031b4..8c8c899 100644
--- a/luamods/ping.lua
+++ b/luamods/ping.lua
@@ -9,10 +9,9 @@ return {
minimal_rights = "user",
handle = function(request)
return request.sender.alias_name .. ": PotFriend Pong! " ..
- bot_get_compiler_version() ..
- " · Uptime: " .. time_humanize(bot_get_uptime()) ..
- " · Used memory: " .. math.ceil(bot_get_memory_usage() / 1024 / 1024) ..
- "MB · Temperature: " .. tostring(bot_get_temperature()) .. "°C · Bot running on v" .. bot_get_version() ..
+ "Uptime: " .. time_humanize(bot_get_uptime()) ..
+ " · Used memory: " .. math.ceil(bot_get_memory_usage() / 1024) ..
+ "MB · Temperature: " .. tostring(math.ceil(bot_get_temperature())) .. "°C · Bot running on " .. bot_get_version() ..
" (Last updated " .. time_humanize(time_current() - bot_get_compile_time()) .. " ago)"
end
}