Define class variables in __init__
This commit is contained in:
parent
ac3ed0d492
commit
beeb5573e1
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue