From a2bbacfeb0a4305ce76ce486c54e50d3c884fc61 Mon Sep 17 00:00:00 2001 From: Interitio Date: Mon, 25 Aug 2025 15:41:30 +1000 Subject: [PATCH] Fix typos from template. --- data/schema.sql | 6 +++++- src/meta/LionBot.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/data/schema.sql b/data/schema.sql index 52c49c5..3d7ba1b 100644 --- a/data/schema.sql +++ b/data/schema.sql @@ -1,10 +1,12 @@ +BEGIN; + -- Metadata {{{ CREATE TABLE version_history( component TEXT NOT NULL, from_version INTEGER NOT NULL, to_version INTEGER NOT NULL, author TEXT NOT NULL, - _timestamp TIMESTAMPTZ NOT NULL DEFAULT NOW(), + _timestamp TIMESTAMPTZ NOT NULL DEFAULT NOW() ); INSERT INTO version_history (component, from_version, to_version, author) VALUES ('ROOT', 0, 1, 'Initial Creation'); @@ -35,4 +37,6 @@ CREATE TABLE bot_config( -- TODO: Profile data + +COMMIT; -- vim: set fdm=marker: diff --git a/src/meta/LionBot.py b/src/meta/LionBot.py index d31065e..6e2a23f 100644 --- a/src/meta/LionBot.py +++ b/src/meta/LionBot.py @@ -11,7 +11,7 @@ from discord.ext.commands.errors import CommandInvokeError, CheckFailure from discord.app_commands.errors import CommandInvokeError as appCommandInvokeError, TransformerError from aiohttp import ClientSession -from data import Database +from data import Database, ORDER from utils.lib import tabulate from babel.translator import LeoBabel from botdata import BotData, VersionHistory