Fixed variable name
This commit is contained in:
parent
b1304b9956
commit
f2d7c58ac9
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ module.exports = (bot) => {
|
||||||
const track = response.data.recenttracks.track[0];
|
const track = response.data.recenttracks.track[0];
|
||||||
|
|
||||||
if (!track) {
|
if (!track) {
|
||||||
const noResponse = Strings.lastFmNoResponse.replace('{lastfmUser}', lastfmUser);
|
const noRecent = Strings.lastFmNoRecent.replace('{lastfmUser}', lastfmUser);
|
||||||
return ctx.reply(noResponse, {
|
return ctx.reply(noRecent, {
|
||||||
parse_mode: "Markdown",
|
parse_mode: "Markdown",
|
||||||
reply_to_message_id: ctx.message.message_id
|
reply_to_message_id: ctx.message.message_id
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue