Skip to content

Commit

Permalink
docs: Add the change to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekCornerGH authored Nov 2, 2022
1 parent aed903e commit ec87f7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const attachment = await discordTranscripts.createTranscript(channel, {
returnType: 'attachment', // Valid options: 'buffer' | 'string' | 'attachment' Default: 'attachment' OR use the enum ExportReturnType
filename: 'transcript.html', // Only valid with returnType is 'attachment'. Name of attachment.
saveImages: false, // Download all images and include the image data in the HTML (allows viewing the image even after it has been deleted) (! WILL INCREASE FILE SIZE !)
exportedText: "Exported {number} message{s}", //Change text at footer, don't forget to put {number} to show how much messages got exported, and {s} for plural
callbacks: {
// register custom callbacks for the following:
resolveChannel: (channelId: string) => Awaitable<Channel | null>,
Expand Down

0 comments on commit ec87f7d

Please # to comment.