Update lastfm.js

This commit is contained in:
Lucas Gabriel 2024-09-07 23:55:10 -03:00 committed by GitHub
parent e23d6b58a7
commit 00f151b378
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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];