This commit is contained in:
Ismaël Moret 2024-02-01 16:36:07 +00:00
parent 5c010f2943
commit 64f5901991

View file

@ -83,7 +83,7 @@ async function main() {
}) })
} }
const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.categories === "XXX")) const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (stream.categories === "XXX"))
if(chNSFW) { if(chNSFW) {
log.add({ log.add({
type: 'error', type: 'error',