addtl comment info
parent
b4ef318182
commit
dbf25c6d5c
|
@ -32,7 +32,7 @@ class WorkflowOrchestrator {
|
||||||
async processComment(comment: Comment) {
|
async processComment(comment: Comment) {
|
||||||
const redditUsers = CommentParser.extractUsernames(comment);
|
const redditUsers = CommentParser.extractUsernames(comment);
|
||||||
if (redditUsers.length === 0) return;
|
if (redditUsers.length === 0) return;
|
||||||
console.log('found:', redditUsers);
|
console.log(`${comment.permalink} found:`, redditUsers);
|
||||||
|
|
||||||
await this.postCommentAndNotify(comment, redditUsers[0]);
|
await this.postCommentAndNotify(comment, redditUsers[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue