summaryrefslogtreecommitdiff
path: root/config.py
blob: c550dfccc16353b4e32a0c1619b64bce5df49639 (plain)
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
APPNAME = 'catbot'
BASEURL = 'https://vnil.de'

# no need to change the following ---
CLIENTID = 'client.secret'
TOKEN = 'token.secret'

# in seconds
POLL_INTERVAL = 20

# in case of DoS, we won't handle too long a status
MAX_STATUS_LENGTH = 1024

# account username and PW
UNAME = ""
PW = ""
ACCOUNT_SECRET = "account.secret"
try:
    f = open(ACCOUNT_SECRET)
    lines = f.readlines()
    UNAME = lines[0]
    PW = lines[1]
except:
    print("account secret not found, please manually input:")
    UNAME = input("username or email")
    PW = input("password (not concealed)")

ADMINS = ["shrik3"]