Update guild2.py
This commit is contained in:
parent
e07918d5ad
commit
bf0b89e80e
1 changed files with 7 additions and 9 deletions
|
@ -36,13 +36,11 @@ client = guilded.Client()
|
||||||
#C.AI
|
#C.AI
|
||||||
caitoken = os.environ["CAItoken"]
|
caitoken = os.environ["CAItoken"]
|
||||||
caibot= os.environ["CAImodel"]
|
caibot= os.environ["CAImodel"]
|
||||||
while True:
|
|
||||||
try:
|
try:
|
||||||
cai = pycai.Client(caitoken)
|
cai = pycai.Client(caitoken)
|
||||||
me = cai.get_me()
|
me = cai.get_me()
|
||||||
chat = cai.connect()
|
chat = cai.connect()
|
||||||
chats = []
|
chats = []
|
||||||
break
|
|
||||||
except:
|
except:
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
# Help document
|
# Help document
|
||||||
|
|
Loading…
Reference in a new issue