fixed Birthday Event, Renamed DB Colls
This commit is contained in:
@@ -6,8 +6,8 @@ module.exports = {
|
||||
aliases: ['n', 'nget', 'nutsget'],
|
||||
async execute(message, args) {
|
||||
const db = mClient.db(process.env.M_DB)
|
||||
const nutsColl = db.collection('nuts')
|
||||
const cdColl = db.collection('cooldown')
|
||||
const nutsColl = db.collection('items_nuts')
|
||||
const cdColl = db.collection('items_cooldowns')
|
||||
|
||||
const cdData = await cdColl.findOne({ userID: message.author.id })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user