Added subreddit variable.

This commit is contained in:
DebaucheryLibrarian 2024-09-11 05:16:53 +02:00
parent 5f393d8868
commit cc5d665d34
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ function interpolate(pattern, user, post, item) {
$postUser: post.user || user.user, $postUser: post.user || user.user,
$postDate: dateFns.format(post.datetime, dateFormat), $postDate: dateFns.format(post.datetime, dateFormat),
$postIndex: post.index + config.library.indexOffset, $postIndex: post.index + config.library.indexOffset,
$subreddit: post.subreddit,
$host: post.host.label $host: post.host.label
}); });