Fixed space in botSay

This commit is contained in:
dbroqua 2020-01-10 09:09:26 +01:00
parent d01765e3cb
commit 211a00ddaf

View File

@ -157,7 +157,7 @@ bot.addListener('error', function (message) {
* @param {Boolean} dontDisplayRadio * @param {Boolean} dontDisplayRadio
*/ */
const botSay = (where, what, dontDisplayRadio) => { const botSay = (where, what, dontDisplayRadio) => {
const message = `${(!dontDisplayRadio ? `${process.env.RADIO_ALIAS} : ` : '')} ${what}` const message = `${(!dontDisplayRadio ? `${process.env.RADIO_ALIAS} : ` : '')}${what}`
bot.say(where, message) bot.say(where, message)
} }