forked from Soben713/Twizhoosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
37 lines (30 loc) · 999 Bytes
/
settings.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
import os
# Import deploying related keys
CONSUMER_KEY = os.environ.get('TWITTER_CONSUMER_KEY', None)
CONSUMER_SECRET = os.environ.get('TWITTER_CONSUMER_SECRET', None)
OAUTH_TOKEN = os.environ.get('TWITTER_OAUTH_TOKEN', None)
OAUTH_TOKEN_SECRET = os.environ.get('TWITTER_OAUTH_TOKEN_SECRET', None)
DEBUG = (os.environ.get('DEBUG', "True") == "True")
TWEET_LENGTH = 140
TWEET_URL_LENGTH = 21
TWIZHOOSH_USERNAME = 'twizhoosh'
# Ordered list of installed twitter related scripts
INSTALLED_TWITTER_RELATED_SCRIPTS = [
"dedicate_round_tweets",
"remind_round_tweets",
"spell_checker",
"choose_random_choice",
"mustachify",
"get_grade",
"good_night",
"reply_by_learned_replies",
"learn_to_reply",
"nobody_cares",
]
# Ordered list of installed standalone scripts
INSTALLED_STANDALONE_SCRIPTS = [
"call_sherrgoo",
"give_advice",
]
# Stand-Alone repeat time chunks in seconds, every script may override number of chunks
STAND_ALONE_REPEAT_TIME_CHUNKS = 5