mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Echo DMs sent with /msg (#15887)
This commit is contained in:
@@ -1275,7 +1275,7 @@ core.register_chatcommand("msg", {
|
|||||||
core.log("action", "DM from " .. name .. " to " .. sendto
|
core.log("action", "DM from " .. name .. " to " .. sendto
|
||||||
.. ": " .. message)
|
.. ": " .. message)
|
||||||
core.chat_send_player(sendto, S("DM from @1: @2", name, message))
|
core.chat_send_player(sendto, S("DM from @1: @2", name, message))
|
||||||
return true, S("Message sent.")
|
return true, S("DM sent to @1: @2", sendto, message)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user