'Trying to add a warning system to my mongodb, it works but says application didn't respond

const {Client, CommandInteraction, MessageEmbed} = require("discord.js");
const db = require("../../Structures/Schemas/InfractionDB");

module.exports = {
    name: "warnings",
    description: "Give a warning",
    permission: "ADMINISTRATOR",
    options: [
                {
                    name: "target",
                    description: "Select a target.",
                    type: "USER",
                    required: true
                },
                {
                    name: "reason",
                    description: "Provide a reason.",
                    type: "STRING",
                    required: true
                },
                {
                    name: "evidence",
                    description: "Provide evidence.",
                    type: "STRING",
                    required: false
                },
            ],
        
    /**
     * 
     * @param {CommandInteraction} interaction 
     * @param {Client} client 
     */
    execute(interaction, client) {
        const{guild, member, options} = interaction
        const Target = options.getMember("target");
        const Reason = options.getString("reason");
        const Evidence = options.getString("evidence") || "None provided";

        const Response = new MessageEmbed()
        .setColor("RED")
        .setAuthor({name: "MOD BOT", iconURL: guild.iconURL()});

            db.findOne({GuildID: guild.id, UserID: Target.id}, async (err,data)=> {
                if(err) throw err;
                if(!data || !data.WarnData) {
                    data = new db({
                        GuildID: guild.id,
                        UserID: Target.id,
                        WarnData: [
                            {
                                ExecuterID: member.id,
                                ExecuterTag: member.user.tag,
                                TargetID: Target.id,
                                TargetTag: Target.user.tag,
                                Reason: Reason,
                                Evidence: Evidence,
                                Date: parseInt(interaction.createdTimestamp / 1000)
                            }
                        ],
                    })
                } else {
                    const WarnDataObject ={
                        ExecuterID: member.id,
                        ExecuterTag: member.user.tag,
                        TargetID: Target.id,
                        TargetTag: Target.user.tag,
                        Reason: Reason,
                        Evidence: Evidence,
                        Date: parseInt(interaction.createdTimestamp / 1000)
                    }
                    data.WarnData.push(WarnDataObject)
                }
                data.save()
            });
            Response.setDescription(`Warning Added: ${Target.user.tag} | ||${Target.id}||\n**Reason**: ${Reason}\n**Evidence**:${Evidence}`);
            guild.channels.cache.get("946217387336818699").send({embeds:[Response]});   
            
}}

originally this was routed to a different collection in my db. I've tried to convert it so I can see everything in one place. but it's taken me hours and don't seem to be getting anywhere. Like I said, the data is being stored on the db, but the Response is failing. Any ideas how to fix this? There are no errors in terminal



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source