mirror of
https://github.com/sigmasternchen/MinervaBot
synced 2025-03-15 07:59:00 +00:00
this is probably a misstake in the doc?
This commit is contained in:
parent
93f388702c
commit
7850d33050
1 changed files with 4 additions and 4 deletions
8
main.py
8
main.py
|
@ -27,12 +27,12 @@ def connect():
|
||||||
)
|
)
|
||||||
genconf = open("gen-config.py", "w")
|
genconf = open("gen-config.py", "w")
|
||||||
genconf.write("# don't edit this file\n\n")
|
genconf.write("# don't edit this file\n\n")
|
||||||
genconf.write("ACCESS_TOKEN_KEY = " + token.key + "\n")
|
genconf.write("ACCESS_TOKEN_KEY = " + token[0] + "\n")
|
||||||
genconf.write("ACCESS_TOKEN_SECRET = " + token.secret + "\n")
|
genconf.write("ACCESS_TOKEN_SECRET = " + token[1] + "\n")
|
||||||
ĝenconf.close()
|
ĝenconf.close()
|
||||||
|
|
||||||
ACCESS_TOKEN_KEY = token.key
|
ACCESS_TOKEN_KEY = token[0]
|
||||||
ACCESS_TOKEN_SECRET = token.secret
|
ACCESS_TOKEN_SECRET = token[1]
|
||||||
else:
|
else:
|
||||||
ACCESS_TOKEN_KEY = NP_ACCESS_TOKEN_KEY
|
ACCESS_TOKEN_KEY = NP_ACCESS_TOKEN_KEY
|
||||||
ACCESS_TOKEN_SECRET = NP_ACCESS_TOKEN_SECRET
|
ACCESS_TOKEN_SECRET = NP_ACCESS_TOKEN_SECRET
|
||||||
|
|
Loading…
Reference in a new issue