-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
44 lines (32 loc) · 1.09 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import random
from date import get_month, get_date, get_day
PATH_TO_APPLESCRIPT = "Enter path to send_message.applescript"
OPENWEATHERMAP_API_KEY = "Enter openweathermap API Key"
REDDIT_API_ID = "Enter Reddit API ID"
REDDIT_API_SECRET = "Enter Reddit API Secret"
REDDIT_USER = "Enter Reddit account username"
REDDIT_PASS = "Enter Reddit account password"
SUBREDDITS = [
"corgi",
"dogpictures",
"puppies",
"shiba",
"puppysmiles",
"lookatmydog",
"rarepuppers",
]
MONTH = get_month()
DAY = get_day()
DATE = get_date()
with open("quotes.txt", "r") as file:
quotes = file.readlines()
MOTIVATION_QUOTE = random.choice(quotes)
RAIN_ALERT_MESSAGE = "It is projected to rain today. Stay dry and bring an umbrella. Drive slow and drive safe."
HOLIDAY_MESSAGE = "HAPPY {HOLIDAY}!! 🎉"
DOG_PIC_MESSAGE = (
"Here's a daily dog picture to start your day off 🤗 \n\nPost Title: {TITLE} \n{URL}"
)
MORNING_GREETING = "Good Morning {NAME} ☀️☀️. Today is {DAY}, {MONTH} {DATE}."
CLOSING_MESSAGE = f"{MOTIVATION_QUOTE} \n Have a good rest of your day.".replace(
"'", ""
)