-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUCONN_BOOKSTORE.py
51 lines (45 loc) · 1.67 KB
/
UCONN_BOOKSTORE.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
45
46
47
48
49
50
51
#Stephen Duncanson
#/u/UCONN_BOOKSTORE
#Reddit Bot Test
import praw
import random
import time
deals=[ "Microsoft Office 2019 only $39.95 | Adobe & more.",
"Shop 2019 holiday ornaments before they're gone…",
"Savings, Savings, & Savings for YOU!",
"🎁 Our GIFT to you: 25% OFF",
"Happy Thanksgiving!! Give $10 to your parents",
"Happy Thanksgiving!! Thank Your Parents With $10",
"HURRY! 30% Off Cold Weather Styles Is Almost GONE",
"ENDS TODAY: 30% off Sweats & More",
"30% off is happening now!! (Yes…30% off!)",
"Pre-Black Friday Deals are HERE!",
"Your FIRST LOOK at Cyber Deals 😄",
"LAST CHANCE to shop our Champion Sale!!",
"🏈 We face East Carolina Soon!",
"Your favorite brands are STILL on sale!",
"Sustainable styles you'll love. . .",
"🍂 25% Off Fall Savings!",
"Understand your world as you shape it with The Times.",
"Introducing: UCONN x tokyodachi®",
"20% off Active Gear for the New School Year"
"Gifts starting at $10 now in your Urban Outfitters campus shop",
"Things to do before you leave campus…",
"Here is your Finals Week Checklist…",
"Microsoft Office 2019 only $39.95 | Adobe & more.",
"Shop 2019 holiday ornaments before they're gone…",
"Savings, Savings, & Savings for YOU!",
"😎 MORNING CYBER SUNDAY SAVINGS"]
reddit = praw.Reddit(client_id='=',
client_secret='',
password='',
user_agent='',
username='')
subreddit = reddit.subreddit('uconn')
while True:
hot_uconn = subreddit.hot()
for submission in hot_uconn:
time.sleep(600)
print(submission.title)
submission.reply(random.choice(deals))
print("Replied!")