Update default-addon.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2019-06-24 19:09:32 +01:00
1 parent 4f78858641
commit f6a67a3373
1 file changed
+20 -2
+20 -2
View File
@@ -5,14 +5,32 @@ const Discord = require("discord.js");
const bot = new Discord.Client()
bot.settings = require("../settings.json");
shot.settings = require("../shopconfig.json");
exports.run = async(bot, message, args) => {
message.delete();
message.channel.send(":white_check_mark: **SupportBot Addon**\nThis addon is here by default.\nWe are currently working on some super amazing addons for SupportBot\nHowever, If you would like to start creating your own support bot addon\ncontact us at EmeraldServices.\n")
let shop = shop.settings.SHOP;
let SHOP = '';
for ( let name in shop ) {
SHOP += `${shop}\n`;
}
const Embed1 = new Discord.RichEmbed():
.setTitle(shop.settings.SHOP_NAME)
.setDescription(SHOP)
.setColor(bot.settings.Colour)
.setThumbnail(message.author.avatarURL)
message.channel.send(Embed1)
.then({
message.react(':one:');
message.react(':two:');
})
}
exports.help = {
name: 'addon',
}
}