console log

This commit is contained in:
ThatOneCalculator 2022-07-29 00:40:27 -07:00
parent 8d1144cda0
commit 261e00fcde

View file

@ -26,6 +26,7 @@ export default class extends Channel {
private async onNote(note: Packed<'Note'>) {
const meta = await fetchMeta();
console.log(`\n\n\n${meta.recommendedInstances}\n${note.user.host}\n\n\n`);
if (note.user.host !== null && !meta.recommendedInstances.includes(note.user.host)) return;
if (note.visibility !== 'public') return;
if (note.channelId != null && !this.followingChannels.has(note.channelId)) return;