diff --git a/lib/commands/convert.js b/lib/commands/convert.js index 8249b0c..5f4bdb9 100644 --- a/lib/commands/convert.js +++ b/lib/commands/convert.js @@ -52,20 +52,18 @@ module.exports = (bot) => { return; } - return ctx.reply(createMessage(json), { + await ctx.reply(createMessage(json), { parse_mode: 'markdown', - // reply_markup: { - // inline_keyboard: [ - // [ - // { - // text: `Open ${getDisplayType(json.type)}`, - // url: `${ - // json.url - // }?utm_source=telegram&utm_medium=songwhipbot&utm_campaign=convert-link` - // } - // ] - // ] - // } + }); + + const shutdownNotice = [ + 'Thank you for using Songwhip’s Telegram bot.', + 'As of March 1st, 2024 the Telegram bot will be shutting down.', + 'You can still continue to create and share free music links by visiting Songwhip’s website!', + ].join('\n'); + + return ctx.reply(shutdownNotice, { + parse_mode: 'HTML', }); }; }; diff --git a/package.json b/package.json index 8f48e16..cd2820a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "telegraf": "^3.30.1" }, "devDependencies": { - "@theorchard/songwhip-events": "^2.3.3", + "@theorchard/songwhip-events": "2.3.3", "@types/micro": "^7.3.3", "babel-eslint": "^7.2.3", "eslint": "^4.4.1", diff --git a/yarn.lock b/yarn.lock index f2a0deb..085e904 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,9 +2,9 @@ # yarn lockfile v1 -"@theorchard/songwhip-events@^2.3.3": +"@theorchard/songwhip-events@2.3.3": version "2.3.3" - resolved "https://npm.pkg.github.com/download/@theorchard/songwhip-events/2.3.3/bd7815be94a73fd22b64ea6213a2d56fa1eded68d028268e6fb79883574c72bc#b6b0f5c6eabb85bca319ec40da36ec3f43c42c21" + resolved "https://npm.pkg.github.com/download/@theorchard/songwhip-events/2.3.3/b6b0f5c6eabb85bca319ec40da36ec3f43c42c21#b6b0f5c6eabb85bca319ec40da36ec3f43c42c21" integrity sha512-iwydoZcVDWYqj1tOuSS+isbp+EhiVi/reqtkeTZ8qLGhU4ollypvtjqQYGt3Og7RWpdz0/ABuLAVlUQsAwcoDA== dependencies: debug "^4.3.1"