Define class variables in __init__

This commit is contained in:
nemunaire 2015-09-11 08:10:20 +02:00
parent ac3ed0d492
commit beeb5573e1

View File

@ -48,6 +48,7 @@ class Bot(threading.Thread):
logger.info("Initiate nemubot v%s", __version__)
self.verbosity = verbosity
self.stop = None
# External IP for accessing this bot
import ipaddress