aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-11 17:03:14 +0100
committerGravatar jesopo2019-10-11 17:03:14 +0100
commit14f5ec38edd4d2df82b64e6541cdb4878d2a435f (patch)
treeac1c60bf3bb916f378ef97945f8d9d6aafaa1f8a /src/IRCBot.py
parent'start.py' -> 'bitbotd' (diff)
signature
hold current version in it's own file: VERSION
Diffstat (limited to 'src/IRCBot.py')
-rw-r--r--src/IRCBot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py
index 9ff382ab..5e4371e1 100644
--- a/src/IRCBot.py
+++ b/src/IRCBot.py
@@ -3,7 +3,8 @@ import typing, uuid
from src import EventManager, Exports, IRCServer, Logging, ModuleManager
from src import PollHook, PollSource, Socket, Timers, utils
-VERSION = "v1.12.0"
+with open("VERSION", "r") as version_file:
+ VERSION = version_file.read().strip()
SOURCE = "https://git.io/bitbot"
URL = "https://bitbot.dev"