Move version to independent VERSION file

This commit is contained in:
2025-09-21 14:59:12 +02:00
parent f01b942818
commit 2f33d840f3
5 changed files with 14 additions and 3 deletions
+4 -1
View File
@@ -13,12 +13,13 @@ from utils.portal import Portal
import asyncio
from typing import Union
from platforms.reddit import Reddit_Adapter
from const import VERSION
print(" ____ ____ ___________ __________")
print(" / __ \/ __ \/ ___/_ __/ / _/_ __/")
print(" / /_/ / / / /\__ \ / /_____ / / / / ")
print(" / ____/ /_/ /___/ // /_____// / / / ")
print(" /_/ \____//____//_/ /___/ /_/ ")
print(f" /_/ \____//____//_/ /___/ /_/ v{VERSION}")
print(" Copyright (c) 2024-2025 Lars Winzer")
print()
print(" Source: https://github.com/official-Cromatin/Post-It")
@@ -44,6 +45,8 @@ class MyBot(commands.Bot):
self.__portal:Portal
self.__first_on_ready = False
self.VERSION = VERSION
def set_portal(self, portal:Portal):
self.__portal = portal