|
|
@ -51,6 +51,7 @@ def disco_main(run=False): |
|
|
|
config = ClientConfig() |
|
|
|
|
|
|
|
config.manhole_enable = args.manhole |
|
|
|
if config.manhole_enable: |
|
|
|
config.manhole_bind = args.manhole_bind.split(':', 1) |
|
|
|
|
|
|
|
for k, v in six.iteritems(vars(args)): |
|
|
@ -92,5 +93,6 @@ def disco_main(run=False): |
|
|
|
|
|
|
|
return (bot or client) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
disco_main(True) |
|
|
|