opensourcehacker / sevabot

A Skype bot supporting integration with external services
http://sevabot-skype-bot.readthedocs.org/
565 stars 121 forks source link

How to escape the help text so it's not parsed as a command #99

Open IDmedia opened 9 years ago

IDmedia commented 9 years ago

Just a quick and simple question. If I Have the following code example. How may I escape the HELP_TEXT so it's not parsed as a command?

def main(): if len(sys.argv) != 3: sys.exit(HELP_TEXT)

if name == 'main': main()