fixed Birthday Event, Renamed DB Colls
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
const db = mClient.db(process.env.M_DB)
|
||||
const nutsColl = db.collection('nuts')
|
||||
const nutsColl = db.collection('items_nuts')
|
||||
const yourBalance = await nutsColl.findOne({ userID: from.id })
|
||||
if (amount <= 0) {
|
||||
return await message.reply({
|
||||
|
||||
Reference in New Issue
Block a user