fixed Birthday Event, Renamed DB Colls
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = {
|
||||
description: 'navigate to your own placement',
|
||||
async execute(interaction) {
|
||||
const db = mClient.db(process.env.M_DB)
|
||||
const nutsColl = db.collection('nuts')
|
||||
const nutsColl = db.collection('items_nuts')
|
||||
|
||||
const self = await nutsColl.find({ userID: interaction.user.id }).toArray()
|
||||
const all = await nutsColl.find({ nuts: { $gt: 0 } }).sort({ nuts: -1 }).toArray()
|
||||
|
||||
Reference in New Issue
Block a user