update README, remove debug-related line
This commit is contained in:
@@ -14,12 +14,12 @@ The bot will be runnable in three modes:
|
|||||||
## Roadmap
|
## Roadmap
|
||||||
* ~~Read past tweets of members from both companies~~
|
* ~~Read past tweets of members from both companies~~
|
||||||
* ~~Create screenshot of tweet~~
|
* ~~Create screenshot of tweet~~
|
||||||
* Track tweets in queue files
|
* ~~Track tweets in queue files~~
|
||||||
* Post tweets along with screenshot of tweet
|
* ~~Post tweets along with screenshot of tweet~~
|
||||||
* Include screenshot of tweet being replied to?
|
* Include screenshot of tweet being replied to?
|
||||||
|
* ~~Combine image with quote tweet~~
|
||||||
|
* ~~Don't tweet already-existing tweets (check our past quote tweets; might be saved in a file for quicker access)~~
|
||||||
* Track posted tweets in a history file
|
* Track posted tweets in a history file
|
||||||
* Combine image with quote tweet
|
|
||||||
* Don't tweet already-existing tweets (check our past quote tweets; might be saved in a file for quicker access)
|
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
* Tweets should only occur if involved parties are cross-company
|
* Tweets should only occur if involved parties are cross-company
|
||||||
|
|||||||
+1
-4
@@ -111,9 +111,7 @@ async def get_cross_talent_tweets(queue_path):
|
|||||||
with open(queue_path, 'w') as f:
|
with open(queue_path, 'w') as f:
|
||||||
print('Pulling tweets from online!')
|
print('Pulling tweets from online!')
|
||||||
try:
|
try:
|
||||||
print('TODO: using test_talents')
|
for talent_id in talent_lists.talents:
|
||||||
for talent_id in talent_lists.test_talents:
|
|
||||||
# for talent_id in talent_lists.talents:
|
|
||||||
if talent_id not in finished_user_timestamps or \
|
if talent_id not in finished_user_timestamps or \
|
||||||
finished_user_timestamps[talent_id] < datetime.datetime.now().timestamp():
|
finished_user_timestamps[talent_id] < datetime.datetime.now().timestamp():
|
||||||
try:
|
try:
|
||||||
@@ -189,4 +187,3 @@ async def run(program_args):
|
|||||||
if await process_queue(ttweets_dict) == 0:
|
if await process_queue(ttweets_dict) == 0:
|
||||||
print('Posted no new tweets; we\'re caught up!')
|
print('Posted no new tweets; we\'re caught up!')
|
||||||
break
|
break
|
||||||
# TODO: go to listen mode
|
|
||||||
+1
-1
@@ -29,7 +29,7 @@ def init_argparse():
|
|||||||
return p
|
return p
|
||||||
|
|
||||||
def command_line():
|
def command_line():
|
||||||
# TODO: implement command line mode for manually controlling the bot
|
# TODO (extra): implement command line mode for manually controlling the bot
|
||||||
print('Shell coming soon. For now, here\'s a Python interpretor.')
|
print('Shell coming soon. For now, here\'s a Python interpretor.')
|
||||||
code.interact(local=globals())
|
code.interact(local=globals())
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user