pineafan | 813bdf4 | 2022-07-24 10:39:10 +0100 | [diff] [blame] | 1 | import client from "./client.js"; |
2 | |||||
3 | export default function (guild: string, channel: string, message: string) { | ||||
4 | client.noLog.push(`${guild}/${channel}/${message}`); | ||||
5 | setTimeout(() => { | ||||
6 | client.noLog = client.noLog.filter((i) => {return i !== `${guild}/${channel}/${message}`}); | ||||
7 | }, 500); | ||||
8 | } |