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__)
|
logger.info("Initiate nemubot v%s", __version__)
|
||||||
|
|
||||||
self.verbosity = verbosity
|
self.verbosity = verbosity
|
||||||
|
self.stop = None
|
||||||
|
|
||||||
# External IP for accessing this bot
|
# External IP for accessing this bot
|
||||||
import ipaddress
|
import ipaddress
|
||||||
|
Loading…
Reference in New Issue
Block a user