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 | 3a02ea3 | 2022-08-11 21:35:04 +0100 | [diff] [blame^] | 6 | client.noLog = client.noLog.filter((i: string) => { |
Skyler Grey | 75ea917 | 2022-08-06 10:22:23 +0100 | [diff] [blame] | 7 | return i !== `${guild}/${channel}/${message}`; |
| 8 | }); |
pineafan | 813bdf4 | 2022-07-24 10:39:10 +0100 | [diff] [blame] | 9 | }, 500); |
Skyler Grey | 75ea917 | 2022-08-06 10:22:23 +0100 | [diff] [blame] | 10 | } |