-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Personal Access Token in Mattermost
- Loading branch information
Showing
4 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Use the APIv3 branch for that. | |
### REQUIREMENTS | ||
- Python >= 3.4 (3.3 should work too) | ||
- websockets 3.2 | ||
- [mattermostdriver](https://github.com/Vaelor/python-mattermost-driver) > 0.3.0 | ||
- [mattermostdriver](https://github.com/Vaelor/python-mattermost-driver) > 2.2.0 | ||
|
||
### INSTALLATION | ||
|
||
|
@@ -38,10 +38,13 @@ BOT_ADMINS = ('@yourname') # Names need the @ in front! | |
BOT_IDENTITY = { | ||
# Required | ||
'login': '[email protected]', | ||
'password': 'botpassword', | ||
'team': 'nameoftheteam', | ||
'server': 'mattermost.server.com', | ||
# For the login, either | ||
'login': '[email protected]', | ||
'password': 'botpassword', | ||
# Or, if you have a personal access token | ||
'token': 'YourPersonalAccessToken', | ||
# Optional | ||
'insecure': False, # Default = False. Set to true for self signed certificates | ||
'scheme': 'https', # Default = https | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
mattermostdriver>=2.1 | ||
mattermostdriver>=2.2 |