-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbot.py
More file actions
38 lines (32 loc) · 1.28 KB
/
bot.py
File metadata and controls
38 lines (32 loc) · 1.28 KB
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
"""
tweetdeck_bot.py, a project by rhaeyx
Please consider giving this repo a star.
https://github.com/rhaeyx/Tweetdeck-Bot
Contents:
tweetdeck_bot.py - code for automating tweetdeck tweet.
extra.py - code for automating likes and follows.
bot.py(this) - file to execute
extra_bot.py - file to execute for auto follow and like
tweets.txt - Example text file
"""
from tweetdeck_bot import tweetdeck
# Set username and password
bot = tweetdeck(username='placeholder', password='placeholder')
# Start bot. Default values are just placeholders, change as you want.
"""
bot.start(starting_date='12-09-2019', FORMAT: MM-DD-YYYY
time_slots = [(8, 30, 'PM'), FORMAT: (hour, min, period) period is 'AM' or 'PM'
(5, 30, 'PM'),
(6, 30, 'PM'),
(7, 30, 'PM')],
source='tweets.txt')
# Source file: file_name.txt, make sure to place the file in same folder, together with this
# file and tweetdeck_bot.py
"""
# EXAMPLE:
bot.start(starting_date='12-09-2019',
time_slots = [(8, 30, 'PM'),
(5, 30, 'PM'),
(6, 30, 'PM'),
(7, 30, 'PM')],
source='tweets.txt')