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
@@ -9,7 +9,7 @@ module.exports = {
let description = interaction.message.embeds[0].data.description
const target = await interaction.guild.members.fetch(description.split(' ')[0].slice(2, -1))
const db = mClient.db(process.env.M_DB)
const reasonsColl = db.collection('honor-reasons')
const reasonsColl = db.collection('history_honors')
const history = await reasonsColl.findOne({ userID: target.user.id })
const embed = new EmbedBuilder()