aboutsummaryrefslogtreecommitdiff
path: root/deprecated/buy.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-23 11:41:02 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-23 11:41:02 -0400
commited456ef581c5acd852a924d9cc274a259b2d8ce5 (patch)
tree33be62f54239fa6f6b61b9488dbfde329ae1fd78 /deprecated/buy.js
parent1ce861095b2793a1b49546c0adf460fbc2fc5d9f (diff)
downloadAleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.tar.gz
AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.tar.bz2
AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.zip
Converted to Discord.JS v12, starting database
Diffstat (limited to 'deprecated/buy.js')
-rw-r--r--deprecated/buy.js17
1 files changed, 7 insertions, 10 deletions
diff --git a/deprecated/buy.js b/deprecated/buy.js
index 9757d51..25f2589 100644
--- a/deprecated/buy.js
+++ b/deprecated/buy.js
@@ -18,7 +18,6 @@
*
* *************************************/
module.exports.run = async (client, message, args) => {
-/*
const Discord = require('discord.js');
const fs = require('fs')
const db = require('quick.db');
@@ -39,7 +38,7 @@ const items = JSON.parse(fs.readFileSync('./storage/items.json', 'utf8'));
}
- const embed = new Discord.RichEmbed()
+ const embed = new Discord.MessageEmbed()
.setDescription(`Available Items`)
.setColor('#1fd619')
@@ -101,17 +100,15 @@ const items = JSON.parse(fs.readFileSync('./storage/items.json', 'utf8'));
}
message.channel.send('You bought ' + itemName + '!');
- */
- message.reply('Command is broken for now');
};
exports.conf = {
- aliases: [],
- guildOnly: false,
+ aliases: [],
+ guildOnly: false,
};
exports.help = {
- name: 'buy',
- description: 'Buy things.',
- usage: 'buy [item]',
- category: '- Economy Commands',
+ name: 'buy',
+ description: 'Buy things.',
+ usage: 'buy [item]',
+ category: '- Economy Commands',
};