2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-28 01:10:42 +00:00

fix: only print motd when interactive

This commit is contained in:
TorchedSammy 2022-08-17 18:05:20 -04:00
parent 3dcd99563a
commit 20870b9004
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -7,7 +7,7 @@ anymore, that will definitely be why! A MOTD, very message, much day.
]]
bait.catch('hilbish.init', function()
if hilbish.opts.motd then
if hilbish.interactive and hilbish.opts.motd then
print(lunacolors.format(hilbish.motd))
end
end)