A collection of classes and commands for automated command line scripting using Python.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
924 B

2 years ago
# Post a Message to Twist
The `twist` command may be used to send a message to Twist, which requires some additional setup.
!!! note
The following steps were accurate as of September 2020.
## 1) Log In To Twist
Log in to Twist and from the profile menu go to Add Integrations. Then click on Build and "Add a new integration".
## 2) Provide Requested Information
Provide the requested info.
![twist 1](images/twist-1.png)
## 3) Install Integration
After submitting this info, go to Installation. Select a channel and who to notify. Then click "Install integration".
![twist 2](images/twist-2.png)
## 4) Copy the URL
Copy the "Post content manually" URL for use in your configuration file.
```ini
[post a message to twist]
twist: "This is a test message."
url: the URL you created goes here
```
!!! tip
Define this URL in a `variables.ini` file if you need to send multiple messages to the same channel.