Fixed wrong API call on /mlpep

This commit is contained in:
Lucas Gabriel 2024-10-24 00:55:51 -03:00 committed by GitHub
parent 00436438e7
commit 4fcd24f025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,7 +97,7 @@ module.exports = (bot) => {
return; return;
}; };
const apiUrl = `http://ponyapi.net/v1/comics-story/${userInput}`; const apiUrl = `http://ponyapi.net/v1/episode/by-overall/${userInput}`;
try { try {
const response = await axios(apiUrl); const response = await axios(apiUrl);