Hey hey! I’m making a discord bot and I’m currently doing the warning and delete warning command. I want it to be based on a Case ID (The message ID) so that you can delete a certain warning by having that value. Here is my code as of right now (In the warning script). Looking for a way I could save Case ID and call it through that case ID.
db.push(`${target.id}.warnings`, `Reason: ${reason} \n Case ID: ${message.id} \n Moderator: ${message.author}`)
tldr; I need to call a value in quick.db with a specified Case ID