Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -211,7 +211,6 @@ def get_sibyl_system_banned(user_id):
|
|
211 |
|
212 |
def get_all_banned():
|
213 |
banned_users = []
|
214 |
-
test = ORACLE_TOKEN
|
215 |
|
216 |
users = collection.find({})
|
217 |
|
@@ -230,6 +229,16 @@ def blacklist_words():
|
|
230 |
except Exception as e:
|
231 |
return {"status": "false", "message": f"Internal server error: {str(e)}"}
|
232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
@app.get("/UFoP/getbanlist")
|
234 |
def sibyl_get_all_banlist():
|
235 |
banned_users = db.get_all_banned()
|
|
|
211 |
|
212 |
def get_all_banned():
|
213 |
banned_users = []
|
|
|
214 |
|
215 |
users = collection.find({})
|
216 |
|
|
|
229 |
except Exception as e:
|
230 |
return {"status": "false", "message": f"Internal server error: {str(e)}"}
|
231 |
|
232 |
+
@app.get("/UFoP/test")
|
233 |
+
def sibyl_get_all_banlist():
|
234 |
+
test = ORACLE_TOKEN
|
235 |
+
return {
|
236 |
+
"status": "True",
|
237 |
+
"sukuna": {
|
238 |
+
"results": test
|
239 |
+
}
|
240 |
+
}
|
241 |
+
|
242 |
@app.get("/UFoP/getbanlist")
|
243 |
def sibyl_get_all_banlist():
|
244 |
banned_users = db.get_all_banned()
|