pull/15/head
Matthew 2022-03-01 15:02:18 -05:00
parent 436152ffef
commit cf42db6cc7
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 2 deletions

View File

@ -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) {