create event
This commit is contained in:
10
app/bot/dialogs/templates/__init__.py
Normal file
10
app/bot/dialogs/templates/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pathlib import Path
|
||||
path = Path(__file__).parent
|
||||
|
||||
with open(path / "event.jinja2", encoding="utf-8") as f:
|
||||
event_template = f.read()
|
||||
|
||||
with open(path / "profile.jinja2", encoding="utf-8") as f:
|
||||
profile_template = f.read()
|
||||
|
||||
__all__ = ("event_template", "profile_template")
|
||||
Reference in New Issue
Block a user