Fix typo
This commit is contained in:
parent
369ddbe939
commit
7de25e44f4
|
@ -101,7 +101,7 @@ class Add:
|
||||||
"certificate": main.config["Default"]["certificate"],
|
"certificate": main.config["Default"]["certificate"],
|
||||||
"enabled": main.config["ConnectOnCreate"],
|
"enabled": main.config["ConnectOnCreate"],
|
||||||
}
|
}
|
||||||
if config["ConnectOnCreate"] == True:
|
if main.config["ConnectOnCreate"] == True:
|
||||||
helper.addBot(name)
|
helper.addBot(name)
|
||||||
success("Successfully created bot")
|
success("Successfully created bot")
|
||||||
main.saveConf("pool")
|
main.saveConf("pool")
|
||||||
|
|
Loading…
Reference in New Issue