fix
parent
436152ffef
commit
cf42db6cc7
|
@ -4,8 +4,8 @@
|
||||||
import { MessageEmbed, TextChannel } from 'discord.js';
|
import { MessageEmbed, TextChannel } from 'discord.js';
|
||||||
import { Client } from '../class';
|
import { Client } from '../class';
|
||||||
import { Tiers } from '../models';
|
import { Tiers } from '../models';
|
||||||
this.client.db.Moderation.updateMany({ reason: { $regex: 'resource limit' } }, { 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" ] } } }])
|
// this.client.db.Moderation.updateOne({ reason: { $regex: 'resource limit'}}, [{ $set: { reason: { $concat: [ "$reason", "DN/C" ] } } }])
|
||||||
const channelID = '691824484230889546';
|
const channelID = '691824484230889546';
|
||||||
|
|
||||||
export default function memory(client: Client) {
|
export default function memory(client: Client) {
|
||||||
|
|
Loading…
Reference in New Issue