Skip to content

Commit

Permalink
added debug process (runs tests before executing real program, added …
Browse files Browse the repository at this point in the history
…information about Quote And Attachment on startup
  • Loading branch information
NNTin committed Oct 23, 2020
1 parent 42ce7cc commit be1cec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bot: python bot/main.py
bot: python bot/main.py
debug: sh -c 'tox -e extended && python bot/main.py'
2 changes: 2 additions & 0 deletions bot/utils/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def pprint(config):
("Include Reply To User", instance.get("IncludeReplyToUser", True)),
("Include User Reply", instance.get("IncludeUserReply", True)),
("Include Retweet", instance.get("IncludeRetweet", True)),
("Include Quote", instance.get("IncludeQuote", True)),
("Include Attachment", instance.get("IncludeAttachment", True)),
("Custom Message", True if instance.get("custom_message", "") is not "" else False),
("Keyword Sets", True if instance.get("keyword_sets", "") is not "" else False),
("Blackword Sets", True if instance.get("blackword_sets", "") is not "" else False),
Expand Down

0 comments on commit be1cec7

Please sign in to comment.