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(() => { | ||||
pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame] | 6 | client.noLog = client.noLog.filter((i) => {return i !== `${guild}/${channel}/${message}`;}); |
pineafan | 813bdf4 | 2022-07-24 10:39:10 +0100 | [diff] [blame] | 7 | }, 500); |
8 | } |