Skip to content

Commit 8936aa9

Browse files
authored
Update README.md
1 parent aa5ca76 commit 8936aa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ const attachment = await discordTranscripts.createTranscript(channel, {
9797
resolveRole: (roleId: string) => Awaitable<Role | null>
9898
},
9999
poweredBy: true, // Whether to include the "Powered by discord-html-transcripts" footer
100-
hydrate: true // Whether to hydrate the html server-side
100+
hydrate: true, // Whether to hydrate the html server-side
101+
filter: (message) => true // Filter messages, e.g. (message) => !message.author.bot
101102
});
102103
```
103104

0 commit comments

Comments
 (0)