summaryrefslogtreecommitdiff
path: root/luamods/ping.lua
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-05 12:34:11 +0500
committerilotterytea <iltsu@alright.party>2025-07-05 12:34:11 +0500
commit11ca4bf50b7b14b8be54756cb2a7f37ef31890a8 (patch)
tree63d2a6e629499db49c2cf718a962ee3bdf589c63 /luamods/ping.lua
parentdb23d7a064db7f5a5c9a5306880e48c709b7d68b (diff)
feat: get bot temperature
Diffstat (limited to 'luamods/ping.lua')
-rw-r--r--luamods/ping.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luamods/ping.lua b/luamods/ping.lua
index d314cb2..a8b9fd4 100644
--- a/luamods/ping.lua
+++ b/luamods/ping.lua
@@ -12,7 +12,7 @@ return {
bot_get_compiler_version() ..
" · Uptime: " .. time_humanize(bot_get_uptime()) ..
" · Used memory: " .. math.ceil(bot_get_memory_usage() / 1024 / 1024) ..
- "MB · Bot running on v" .. bot_get_version() ..
+ "MB · Temperature: " .. tostring(bot_get_temperature()) .. "°C · Bot running on v" .. bot_get_version() ..
" (Last updated " .. time_humanize(time_current() - bot_get_compile_time()) .. " ago)"
end
}