From cf42db6cc7a8290ebbd94b2b40435a40b9f08bae Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 1 Mar 2022 15:02:18 -0500 Subject: [PATCH] fix --- src/intervals/memory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intervals/memory.ts b/src/intervals/memory.ts index b94515b..b18490b 100644 --- a/src/intervals/memory.ts +++ b/src/intervals/memory.ts @@ -4,8 +4,8 @@ import { MessageEmbed, TextChannel } from 'discord.js'; import { Client } from '../class'; import { Tiers } from '../models'; -this.client.db.Moderation.updateMany({ reason: { $regex: 'resource limit' } }, { reason: { $concat: { ['$reason', "DN/C"] } } }) -this.client.db.Moderation.updateOne({ reason: { $regex: 'resource limit'}}, [{ $set: { reason: { $concat: [ "$reason", "DN/C" ] } } }]) +// this.client.db.Moderation.updateMany({ reason: { $regex: 'resource limit' } }, { reason: { $concat: { ['$reason', "DN/C"] } } }) +// this.client.db.Moderation.updateOne({ reason: { $regex: 'resource limit'}}, [{ $set: { reason: { $concat: [ "$reason", "DN/C" ] } } }]) const channelID = '691824484230889546'; export default function memory(client: Client) {