This has been bugging me for a while
parent
db3365c81a
commit
58b9ec7025
|
@ -17,7 +17,7 @@ def serverup(phenny, input):
|
||||||
if not '.' in arg:
|
if not '.' in arg:
|
||||||
return phenny.reply("Invalid Address")
|
return phenny.reply("Invalid Address")
|
||||||
if ':' in arg:
|
if ':' in arg:
|
||||||
return phenny.reply("Note: Syntax changed please use 'example.org 1337' instead of 'example.org:1337'")
|
return phenny.reply("Syntax changed, please use 'example.org 1337' instead of 'example.org:1337'")
|
||||||
if ' ' in arg:
|
if ' ' in arg:
|
||||||
address = arg.split(' ')[0]
|
address = arg.split(' ')[0]
|
||||||
port = arg.split(' ')[1]
|
port = arg.split(' ')[1]
|
||||||
|
|
Loading…
Reference in New Issue