diff --git a/config.py b/config.py index 7475adb..1b5b892 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ -import re +import re DB_FILE = "tars_bot.db" NWORD_PATTERN = re.compile(r'\bn+[i1!|]+[g9]+[e3]+r+s*\b', re.IGNORECASE) diff --git a/tars.py b/tars.py index e701492..9b00420 100644 --- a/tars.py +++ b/tars.py @@ -1,4 +1,4 @@ -import random +import random def tars_text(text: str, category: str = "default") -> str: variants = { "success": [ diff --git a/tars_bot.py b/tars_bot.py index f4aa5fb..f6a7e60 100644 --- a/tars_bot.py +++ b/tars_bot.py @@ -36,7 +36,7 @@ QUIET_FALLBACK_START = 0 QUIET_FALLBACK_END = 7 MIN_OBSERVED_HOURS_FOR_LEARNING = 8 -BOT_VERSION = "6.0.1" +BOT_VERSION = "7.0.0" BOT_START_TIME = datetime.now(timezone.utc) LAST_ERROR_TIME: datetime | None = None diff --git a/tars_wsgi.py b/tars_wsgi.py index d825b24..7b2b8c2 100644 --- a/tars_wsgi.py +++ b/tars_wsgi.py @@ -1,4 +1,4 @@ -import sys +import sys import os sys.path.insert(0, os.path.dirname(__file__)) from tars_bot import bot, DISCORD_TOKEN