blob: 7a6c4927f21c495aefd581a4de0bcba494e995a8 [file] [log] [blame]
pineafan813bdf42022-07-24 10:39:10 +01001import client from "./client.js";
2
3export default function (guild: string, channel: string, message: string) {
4 client.noLog.push(`${guild}/${channel}/${message}`);
5 setTimeout(() => {
Skyler Grey75ea9172022-08-06 10:22:23 +01006 client.noLog = client.noLog.filter((i) => {
7 return i !== `${guild}/${channel}/${message}`;
8 });
pineafan813bdf42022-07-24 10:39:10 +01009 }, 500);
Skyler Grey75ea9172022-08-06 10:22:23 +010010}