Forgot to flake before pushing
This commit is contained in:
parent
9cfadac1b2
commit
f792f3b862
3 changed files with 1 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
|||
import html
|
||||
import random
|
||||
import requests
|
||||
from requests.structures import CaseInsensitiveDict
|
||||
|
@ -63,7 +62,6 @@ def get_quote(num):
|
|||
return quote.get(num)
|
||||
|
||||
|
||||
|
||||
def process_chat(data):
|
||||
sender = data["user"]["displayName"]
|
||||
text = data["body"]
|
||||
|
|
|
@ -50,7 +50,7 @@ class Quote:
|
|||
return "{}. {}, {}".format(
|
||||
num, text, datetime.strftime(timestamp, '%Y'))
|
||||
|
||||
def connect(self):
|
||||
def __connect(self):
|
||||
return sqlite3.connect("data/quote.db")
|
||||
|
||||
def __init_table(self):
|
||||
|
|
1
bot.py
1
bot.py
|
@ -17,4 +17,3 @@ app = Flask(__name__)
|
|||
def respond():
|
||||
owncast.parse_webhook()
|
||||
return Response(status=200)
|
||||
|
||||
|
|
Loading…
Reference in a new issue