diff --git a/src/greeting.js b/src/greeting.js index af2dc53..53b1f8e 100644 --- a/src/greeting.js +++ b/src/greeting.js @@ -13,7 +13,7 @@ function init(bot) { function sendGreeting(file) { bot.getDMChannel(member.id).then(channel => { if (! channel) return; - channel.createMessage(config.greetingMessage, file); + channel.createMessage(config.greetingMessage || '', file); }); }