blob: 046980626c0d06ca85b05a14f2c22e08293d6ed2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
APPNAME = 'catbot'
BASEURL = 'https://vnil.de'
# no need to change the following ---
CLIENTID = 'client.secret'
TOKEN = 'token.secret'
# in seconds
POLL_INTERVAL = 20
# 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)")
|