Integrated Terms of service and Privacy policy
This commit is contained in:
@@ -20,7 +20,12 @@ from modules.utils import from_utc
|
||||
async def command_start(app: PyroClient, message: Message):
|
||||
user = await app.find_user(message.from_user)
|
||||
|
||||
await message.reply_text(app._("start", "messages", locale=user.locale))
|
||||
await message.reply_text(
|
||||
app._("start", "messages", locale=user.locale).format(
|
||||
terms_of_service="https://garbagebot.eu/community/public/terms-of-service",
|
||||
privacy_policy="https://garbagebot.eu/community/public/privacy-policy",
|
||||
)
|
||||
)
|
||||
|
||||
join_code = None if len(message.command) == 1 else message.command[1]
|
||||
|
||||
|
Reference in New Issue
Block a user