diff options
Diffstat (limited to 'src/IRCBot.py')
| -rw-r--r-- | src/IRCBot.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py index bd00b0d6..9d354245 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -1,13 +1,14 @@ +VERSION: str = "" +with open("VERSION", "r") as version_file: + VERSION = "v%s" % version_file.read().strip() +SOURCE: str = "https://git.io/bitbot" +URL: str = "https://bitbot.dev" + import enum, queue, os, queue, select, socket, sys, threading, time, traceback import typing, uuid from src import EventManager, Exports, IRCServer, Logging, ModuleManager from src import PollHook, PollSource, Socket, Timers, utils -with open("VERSION", "r") as version_file: - VERSION = "v%s" % version_file.read().strip() -SOURCE = "https://git.io/bitbot" -URL = "https://bitbot.dev" - class TriggerResult(enum.Enum): Return = 1 Exception = 2 |
