2 Commits

Author SHA1 Message Date
conatum 2f2582d0ae routine: Update subathon module pointer 2025-10-30 23:43:59 +10:00
conatum a107292233 fix: Typo in join column name 2025-10-30 22:05:31 +10:00
6 changed files with 5 additions and 23 deletions
-3
View File
@@ -10,6 +10,3 @@
[submodule "src/modules/profiles"] [submodule "src/modules/profiles"]
path = src/modules/profiles path = src/modules/profiles
url = https://git.thewisewolf.dev/HoloTech/profiles-plugin.git url = https://git.thewisewolf.dev/HoloTech/profiles-plugin.git
[submodule "src/modules/exec"]
path = src/modules/exec
url = https://git.thewisewolf.dev/HoloTech/exec-plugin.git
-12
View File
@@ -17,18 +17,6 @@ BEGIN
END; END;
$$ language 'plpgsql'; $$ language 'plpgsql';
CREATE OR REPLACE FUNCTION current_module_version(module_name TEXT)
RETURNS INTEGER
AS $$
SELECT
to_version
FROM version_history
WHERE
component = $1
ORDER BY _timestamp DESC
LIMIT 1;
$$ LANGUAGE SQL;
CREATE TABLE app_config( CREATE TABLE app_config(
appname TEXT PRIMARY KEY, appname TEXT PRIMARY KEY,
created_at TIMESTAMPTZ NOT NULL DEFAULT now() created_at TIMESTAMPTZ NOT NULL DEFAULT now()
+2 -4
View File
@@ -4,11 +4,9 @@ if TYPE_CHECKING:
from meta import Bot from meta import Bot
async def twitch_setup(bot: "Bot"): async def twitch_setup(bot: 'Bot'):
# Import and run setup methods from each module # Import and run setup methods from each module
from . import profiles, tracker, subathon, exec from . import profiles, tracker, subathon
await profiles.twitch_setup(bot) await profiles.twitch_setup(bot)
await tracker.twitch_setup(bot) await tracker.twitch_setup(bot)
await subathon.twitch_setup(bot) await subathon.twitch_setup(bot)
await exec.twitch_setup(bot)