Add version

This commit is contained in:
bursa-pastoris 2023-09-21 11:25:09 +02:00
parent e07ff2ddef
commit fdb4ad9605
2 changed files with 5 additions and 3 deletions

View File

@ -31,3 +31,4 @@ with open('.last_msg','r') as f:
USER_NAMES = {i:config['users'][i] for i in config['users']}
GROUP_NAMES = {i:config['groups'][i] for i in config['groups']}
VERSION = '0.1.0'

View File

@ -32,9 +32,10 @@ bot_desc = urllib.parse.quote(
f" You will not receive an automatic answer, but that's expected: {USER}"
f" will have to answer manually.\n"
f"\n"
f"This bot is powerd by scel-buc, a free (as in freedom, not as in free"
f" beer) software distributed under the AGPL-3.0-only license. Its source"
f" code is available at https://git.disroot.org/bursa-pastoris/scel-buc.")
f"This bot is powerd by scel-buc v{VERSION}, a free (as in freedom, not as"
f" in free beer) software distributed under the AGPL-3.0-only license."
f" Its source code is available at"
f" https://git.disroot.org/bursa-pastoris/scel-buc.")
bot_shortdesc = urllib.parse.quote(
f"{USER}'s scel-buc instance")