lnbits-legend/lnbits/extensions/satsdice/__init__.py

18 lines
405 B
Python
Raw Normal View History

from fastapi import APIRouter
2021-10-13 17:08:48 +01:00
from lnbits.db import Database
2021-10-13 21:51:21 +01:00
from lnbits.helpers import template_renderer
2021-10-13 17:08:48 +01:00
2021-10-14 23:08:09 +01:00
db = Database("ext_satsdice")
2021-10-13 17:08:48 +01:00
2021-10-13 21:51:21 +01:00
satsdice_ext: APIRouter = APIRouter(prefix="/satsdice", tags=["satsdice"])
2021-10-13 17:08:48 +01:00
2021-10-13 21:51:21 +01:00
def satsdice_renderer():
2021-10-17 18:33:29 +01:00
return template_renderer(["lnbits/extensions/satsdice/templates"])
2021-10-13 17:08:48 +01:00
from .lnurl import * # noqa
from .views import * # noqa
from .views_api import * # noqa