1st commit Discord Bot

This commit is contained in:
johnfacey
2021-03-18 13:16:42 -05:00
commit 9ce9e994dc
14 changed files with 375 additions and 0 deletions

18
commands/add.js Normal file
View File

@@ -0,0 +1,18 @@
var libFlayer = require("../libFlayer.js");
module.exports = {
name: 'add',
description: 'Add RSS Source',
execute(message,args) {
if (args.length < 2) {
message.reply(`Please use in !get [number] format`);
return;
}
var command = args[0];
var param1 = args[1];
libFlayer.addSource(param1);
libFlayer.loadFeeds();
},
};