Delete default-addon.js
This commit is contained in:
1 parent
f6a67a3373
commit
aa32525f8c
1 file changed
-36
@@ -1,36 +0,0 @@
|
||||
// SupportBot Addons
|
||||
// Default Addon
|
||||
|
||||
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();
|
||||
|
||||
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',
|
||||
}
|
||||
Reference in new issue
Block a user