Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

How to add hasttags #1

Closed
kc1nn4y opened this issue Jun 12, 2020 · 4 comments
Closed

How to add hasttags #1

kc1nn4y opened this issue Jun 12, 2020 · 4 comments
Labels
question Further information is requested

Comments

@kc1nn4y
Copy link

kc1nn4y commented Jun 12, 2020

How do I make it so that it adds hashtags instead of saying from which subreddit / reddit user it mirrored the post from? This would be really great if it works. Your bot is the only one that I've found that's working, big ups to you!

@FreekBes
Copy link
Owner

To add hashtags or any other text to the caption, modify the following code in main.js:
on line 98 (let tempExtraCaption = ) before the closing semicolon (;), add the following: + " \u2063\n\u2063\n#hashtag #hashtag2 anyothertext".

An example:

let tempExtraCaption = "\u2063\n\u2063\nMirrored from a post on " + redditor.getSubreddit() + " by /u/" + post['data']['author'] + ": http://redd.it/" + post['data']['id'] + " \u2063\n\u2063\n#hashtag #hashtag2 anyothertext";

@kc1nn4y
Copy link
Author

kc1nn4y commented Jun 13, 2020

You're a legend!

@kc1nn4y
Copy link
Author

kc1nn4y commented Jun 13, 2020

Could you please give me advice on which Raspberry PI version is the best fit to run bots like these?

@FreekBes FreekBes added the question Further information is requested label Jun 16, 2020
@hugovantriet
Copy link

Could you please give me advice on which Raspberry PI version is the best fit to run bots like these?

This is not a very demending program, so even the cheapest raspberry pi should do.
So the pi zero w should do it, but I would recommend to use at least one with a ethernet port, for more stability.

@FreekBes FreekBes pinned this issue Jun 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants