fixed Birthday Event, Renamed DB Colls

This commit is contained in:
2026-04-06 15:47:54 +02:00
parent ea18387c75
commit 0769a482fb
33 changed files with 281 additions and 196 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ module.exports = {
async execute(interaction) {
await interaction.deferReply()
const db = mClient.db(process.env.M_DB)
const quotesColl = db.collection('quotes')
const quotesColl = db.collection('items_quotes')
const maxValue = await quotesColl.countDocuments({ $and: [{ guildID: interaction.guild.id }, { count: { $gt: 0 } }] })
let skip = interaction.message.embeds[0].data.fields[0].value.split('.')