rewrite: Create guild timezone setting.

This commit is contained in:
2023-03-03 19:47:24 +02:00
parent b0dcbaa727
commit 5bf3ecbdfd
8 changed files with 227 additions and 4 deletions

View File

@@ -138,6 +138,7 @@ class CoreData(Registry, name="core"):
first_joined_at TIMESTAMPTZ DEFAULT now(),
left_at TIMESTAMPTZ,
locale TEXT,
timezone TEXT,
force_locale BOOLEAN
);
@@ -197,6 +198,8 @@ class CoreData(Registry, name="core"):
first_joined_at = Timestamp()
left_at = Timestamp()
timezone = String()
locale = String()
force_locale = Bool()