console log

This commit is contained in:
ThatOneCalculator 2022-07-29 00:40:27 -07:00
parent 20608d9b55
commit d15a3c6dde

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;