Lain Bot CLI scripting with newline characters (bash/python; medium)

I am trying to use the Lain Discord bot found here in combination with long text based messages. I am trying to use the CLI options for Lain. With Lain, you have the ability to send a message using this syntax `python3 lain.py name_of_discord_channel -msg Your message goes here`. This works correctly, but instead of having Lain post once per line in a script. I want a whole message, multiple lines to build, then I want all of those to post as one message. Using the webhook request directly, this will work. For example: `request.get(webhook, "This message\nhas multiple\nlines in it")`. Lain reads the message from the arguments using sys.argv. When this is read in, it breaks the command when there is a new line, so only the first line posts to the Discord and the rest are viewed as unfound bash commands.


Lain Bot CLI scripting with newline characters (bash/python; medium)

I am trying to use the Lain Discord bot found here in combination with long text based messages. I am trying to use the CLI options for Lain. With Lain, you have the ability to send a message using this syntax `python3 lain.py name_of_discord_channel -msg Your message goes here`. This works correctly, but instead of having Lain post once per line in a script. I want a whole message, multiple lines to build, then I want all of those to post as one message. Using the webhook request directly, this will work. For example: `request.get(webhook, "This message\nhas multiple\nlines in it")`. Lain reads the message from the arguments using sys.argv. When this is read in, it breaks the command when there is a new line, so only the first line posts to the Discord and the rest are viewed as unfound bash commands.