data_access/alarm_index.js
/**
 * Deletes the one time alarm with a certain id
 * @param {String} alarm_id - The id of the alarm (should be One_Time_randomstring_id)
 * @param {String} guild_id - The id of the server if it is applicable
 * @param {String} author_id - The id of the user that sets it up if it is applicable
 */
Deletes the one time alarm with a certain id
@param {String} alarm_id - The id of the alarm (should be One_Time_randomstring_id)
@param {String} guild_id - The id of the server if it is applicable
@param {String} author_id - The id of the user that sets it up if it is applicable
Deletes the one time alarm with a certain id @param { String } alarm_id - The id of the alarm ( should be One_Time_randomstring_id ) @param { String } guild_id - The id of the server if it is applicable @param { String } author_id - The id of the user that sets it up if it is applicable
async function delete_oneTimeAlarm_with_id(alarm_id, guild_id, author_id) {
    return await One_Time_Alarm_model.deleteOne(
        {
            $or: [
                { alarm_id: alarm_id, isPrivate: true, user_id: author_id },
                { alarm_id: alarm_id, isPrivate: false, guild: guild_id }
            ]
        }
    );
}
async function delete_oneTimeAlarm_with_id ( alarm_id , guild_id , author_id ) { return await One_Time_Alarm_model . deleteOne ( { $or : [ { alarm_id : alarm_id , isPrivate : true , user_id : author_id } , { alarm_id : alarm_id , isPrivate : false , guild : guild_id } ] } ) ; }
Deletes the one time alarm with a certain id
 @param {String} alarm_id - The id of the alarm (should be One_Time_randomstring_id)
 @param {String} guild_id - The id of the server if it is applicable
 @param {String} author_id - The id of the user that sets it up if it is applicable
Deletes the one time alarm with a certain id @param { String } alarm_id - The id of the alarm ( should be One_Time_randomstring_id ) @param { String } guild_id - The id of the server if it is applicable @param { String } author_id - The id of the user that sets it up if it is applicable