mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Update lastfm.js
This commit is contained in:
parent
e23d6b58a7
commit
00f151b378
@ -8,7 +8,7 @@ const scrobbler_url = 'http://ws.audioscrobbler.com/2.0/';
|
||||
const api_key = Config.lastKey;
|
||||
|
||||
module.exports = (bot) => {
|
||||
bot.command('lt', spamwatchMiddleware, async (ctx) => {
|
||||
bot.command(['lt', 'lmu', 'last' 'lfm'], spamwatchMiddleware, async (ctx) => {
|
||||
const Strings = getStrings(ctx.from.language_code);
|
||||
const userInput = ctx.message.text.split(" ");
|
||||
const lastfmUser = userInput[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user