Spaces:
Running
Running
Update chatgpt.py
Browse files- chatgpt.py +2 -2
chatgpt.py
CHANGED
|
@@ -7,8 +7,8 @@ import requests
|
|
| 7 |
GROUP_ID = "534868"
|
| 8 |
CHANNEL_ID = "200605"
|
| 9 |
|
| 10 |
-
GET_URL = f"https://desk-api.channel.io/desk/channels/{CHANNEL_ID}/groups/{GROUP_ID}/messages"
|
| 11 |
-
POST_URL =
|
| 12 |
|
| 13 |
X_ACCOUNT = os.getenv("channeliotokenbot2")
|
| 14 |
if not X_ACCOUNT:
|
|
|
|
| 7 |
GROUP_ID = "534868"
|
| 8 |
CHANNEL_ID = "200605"
|
| 9 |
|
| 10 |
+
GET_URL = f"https://desk-api.channel.io/desk/channels/{CHANNEL_ID}/groups/{GROUP_ID}/messages?sortOrder=desc&limit=36&logFolded=false"
|
| 11 |
+
POST_URL = f"https://desk-api.channel.io/desk/channels/{CHANNEL_ID}/groups/{GROUP_ID}/messages"
|
| 12 |
|
| 13 |
X_ACCOUNT = os.getenv("channeliotokenbot2")
|
| 14 |
if not X_ACCOUNT:
|