Define class variables in __init__
This commit is contained in:
parent
ac3ed0d492
commit
beeb5573e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user