data_access/alarm_index.js
/**
 * Deletes all public one time alarms from a user in a certain guild
 * @param {String} author_id - The id of the user that sets it up if it is applicable
 * @param {String} guild_id - The id of the server if it is applicable
 */
Deletes all public one time alarms from a user in a certain guild
@param {String} author_id - The id of the user that sets it up if it is applicable
@param {String} guild_id - The id of the server if it is applicable
Deletes all public one time alarms from a user in a certain guild @param { String } author_id - The id of the user that sets it up if it is applicable @param { String } guild_id - The id of the server if it is applicable
async function delete_all_public_oneTimeAlarm_from_user(author_id, guild_id) {
    return await One_Time_Alarm_model.deleteMany(
        {
            $and: [
                { user_id: author_id },
                { isPrivate: false },
                { guild: guild_id }
            ]
        });
}
async function delete_all_public_oneTimeAlarm_from_user ( author_id , guild_id ) { return await One_Time_Alarm_model . deleteMany ( { $and : [ { user_id : author_id } , { isPrivate : false } , { guild : guild_id } ] } ) ; }
Deletes all public one time alarms from a user in a certain guild
 @param {String} author_id - The id of the user that sets it up if it is applicable
 @param {String} guild_id - The id of the server if it is applicable
Deletes all public one time alarms from a user in a certain guild @param { String } author_id - The id of the user that sets it up if it is applicable @param { String } guild_id - The id of the server if it is applicable