1
0
Fork 0

Update guild2.py

This commit is contained in:
Swee 2024-10-09 14:52:19 -07:00
parent e07918d5ad
commit bf0b89e80e

View file

@ -36,15 +36,13 @@ 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 = [] except:
break print(traceback.format_exc())
except:
print(traceback.format_exc())
# Help document # Help document
documentation = """$help - Shows this message. documentation = """$help - Shows this message.
$ping - Test if bot is online. $ping - Test if bot is online.