feat: add initial experimental Twitch Eventsub support (#5837)

Co-authored-by: nerix <nerixdev@outlook.de>
This commit is contained in:
pajlada
2025-02-02 17:03:24 +01:00
committed by GitHub
parent f9f7d47b43
commit 0f8a29fdb9
130 changed files with 19656 additions and 8 deletions
@@ -0,0 +1,16 @@
import os
from jinja2 import Environment, FileSystemLoader
from jinja2_workarounds import MultiLineInclude
from .membertype import MemberType
template_paths = os.path.join(os.path.dirname(os.path.realpath(__file__)), "templates")
# print(f"Loading jinja templates from {template_paths}")
env = Environment(
loader=FileSystemLoader(template_paths),
extensions=[MultiLineInclude],
)
env.globals["MemberType"] = MemberType