fix: only print motd when interactive

pull/207/head
TorchedSammy 2022-08-17 18:05:20 -04:00
parent 3dcd99563a
commit 20870b9004
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

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)