Add option to echo to russian channel

This commit is contained in:
2025-01-14 18:04:18 +01:00
parent fa5b73b5fe
commit 308b65e2f6
7 changed files with 67 additions and 48 deletions

View File

@@ -219,6 +219,16 @@ function shared.Whoer.Init()
end
end
if Heimdall_Data.config.echoToRussian then
-- Russian message
local ruMsg = {
channel = "CHANNEL",
data = Heimdall_Data.config.who.notifyChannel .. "ru",
message = player:NotifyRu()
}
table.insert(shared.messenger.queue, ruMsg)
end
return nil
end
---@param player Player