From cc5d665d34abe97283da0143ed3e8ff8def2a21d Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:53 +0200 Subject: [PATCH] Added subreddit variable. --- src/interpolate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interpolate.js b/src/interpolate.js index ba5f396..7ac9c83 100644 --- a/src/interpolate.js +++ b/src/interpolate.js @@ -43,6 +43,7 @@ function interpolate(pattern, user, post, item) { $postUser: post.user || user.user, $postDate: dateFns.format(post.datetime, dateFormat), $postIndex: post.index + config.library.indexOffset, + $subreddit: post.subreddit, $host: post.host.label });