Set Minetest log level for Discord messages

Logging Discord messages is important, but they shouldn't be sent to admins while they're ingame (???)
As such, the logging level has been set to "action"
This commit is contained in:
archfan 2021-05-31 19:02:13 +00:00 committed by GitHub
parent f543fa4896
commit 6f36a2ffea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ discord.handle_response = function(response)
if irc_enabled then
irc.say(msg)
end
minetest.log('[Discord] Message: '..msg)
minetest.log('action', '[Discord] Message: '..msg)
end
end
if data.commands then