feat: support loading hashtags from env
This commit is contained in:
parent
db0ce65b89
commit
d9bcb29f85
@ -9,7 +9,10 @@ from mastodon import Mastodon
|
||||
instance = "https://social.lumbung.space"
|
||||
email = ""
|
||||
password = ""
|
||||
hashtags = ["jalansesama"]
|
||||
|
||||
hashtags = os.environ.get("MASTODON_HASHTAGS", [])
|
||||
if hashtags:
|
||||
hashtags = [hashtags]
|
||||
|
||||
|
||||
def login_mastodon_bot():
|
||||
|
Loading…
Reference in New Issue
Block a user