Python backend for a Slack's kudos plugin.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: added plaza size as message parameter in home

+3 -2
+1 -1
kefi/config/__init__.py
··· 16 16 PLAZA_PRICE: int = 10 17 17 PLAZA_DEFAULT_HOUR: int = 10 18 18 PLAZA_DEFAULT_MINUTE: int = 0 19 - PLAZA_SIZE: int = 3 19 + PLAZA_SIZE: int = 4 20 20 LOCALE: str = "es_ES" 21 21 22 22 class Config:
+2 -1
kefi/routers/views.py
··· 11 11 ) 12 12 from slack_sdk.models.views import View 13 13 14 + from kefi.config import Settings 14 15 from kefi.constants import Actions, ViewType 15 16 from kefi.models.plazas.helpers import get_or_create_current_plaza 16 17 ··· 141 142 HeaderBlock(text=PlainTextObject(text="Kefi Plaza")), 142 143 SectionBlock( 143 144 text=MarkdownTextObject( 144 - text="Cada viernes se asignan aleatoriamente grupos de 4 personas en una sala virtual para compartir un Kefi online y hablar de los que más os guste. ¿Te unes?" 145 + text=f"Cada viernes se asignan aleatoriamente grupos de {Settings.PLAZA_SIZE} personas en una sala virtual para compartir un Kefi online y hablar de los que más os guste. ¿Te unes?" 145 146 ), 146 147 accessory=ImageElement( 147 148 image_url="https://storage.staging.dekaside.com/kefi/static/images/kefi_plaza.png",