diff --git a/ameliabot/owncast.py b/ameliabot/owncast.py index 5449649..0dc70cc 100644 --- a/ameliabot/owncast.py +++ b/ameliabot/owncast.py @@ -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"] diff --git a/ameliabot/quote.py b/ameliabot/quote.py index 812f661..22b4de9 100644 --- a/ameliabot/quote.py +++ b/ameliabot/quote.py @@ -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): diff --git a/bot.py b/bot.py index dc90b0c..a894253 100644 --- a/bot.py +++ b/bot.py @@ -17,4 +17,3 @@ app = Flask(__name__) def respond(): owncast.parse_webhook() return Response(status=200) -