This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"vscode","settings":"{\"settings\":\"{\\n \\\"markdown.preview.breaks\\\": true,\\n \\\"editor.wordWrap\\\": \\\"on\\\",\\n \\\"python.envFile\\\": \\\"${workspaceFolder}/.venv\\\",\\n \\\"editor.fontFamily\\\": \\\"'Monofur Nerd Font Mono'\\\",\\n \\\"editor.fontWeight\\\": \\\"normal\\\",\\n \\\"editor.fontLigatures\\\": true,\\n \\\"editor.fontSize\\\": 14,\\n \\\"editor.lineHeight\\\": 14,\\n \\\"python.jediEnabled\\\": false,\\n \\\"terminal.integrated.macOptionIsMeta\\\": true,\\n \\\"editor.suggestSelection\\\": \\\"first\\\",\\n \\\"python.languageServer\\\": \\\"Pylance\\\",\\n \\\"python.pythonPath\\\": \\\"/usr/bin/python3\\\",\\n \\\"editor.cursorStyle\\\": \\\"line\\\",\\n \\\"editor.lineNumbers\\\": \\\"relative\\\",\\n \\\"editor.wordSeparators\\\": \\\"/\\\\\\\\()\\\\\\\"':,.;<>~!@#$%^&*|+=[]{}`?-\\\",\\n \\\"workbench.colorTheme\\\": \\\"Sonokai Andromeda\\\",\\n \\\"files.exclude\\\": {\\n \\\".venv\\\": true,\\n \\\"**/__pycache__\\\": true,\\n \\\"**/.ide |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import random | |
import time | |
def chat(): | |
chanel_list = ["channel id"] | |
authorization_list = ["Your Authorization"] | |
for authorization in authorization_list: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from flask import Flask, jsonify, request, session | |
from flask_sqlalchemy import SQLAlchemy | |
from flask_security import ( | |
Security, SQLAlchemyUserDatastore, UserMixin, RoleMixin, | |
current_user, | |
login_required, roles_required, login_user | |
) | |
# Create app |