Chenged the command get format (removed the switch statement) and added the react command

This commit is contained in:
ION606
2022-05-13 22:03:05 +03:00
parent 19b51ecfb3
commit 21040344ae
21 changed files with 886 additions and 98 deletions
+18
View File
@@ -0,0 +1,18 @@
const scraper = require('mal-scraper');
module.exports = {
name: 'search',
description: 'Selmer bot gives you either an explanation or a list of stats',
async execute() {
scraper.getInfoFromName('Fullmetal Alchemist').then((data) => {
//If the user didn't specify, give a stat list
if (args.length < 1) {
let s = `Title: ${s.title}\n`;
s += ``
} else if (args[0] != 'full') {
} else {
}
});
}
}