Hi Bro, I think I found the solution.
I don’t know if you still need the solution, but I’ll write it here as a note.
Here are the steps:
- Make a bot (follow the steps here), Please remember the {bot_username}
- Go to CLI and convert it into a normal user
mattermost user convert {bot_username} --user --email {avaliable.mailaddr@email.com} --password {bot_password}
- Go to your chatbot server and login with the {avaliable.mailaddr@email.com} and {bot_password}
2.5. (You may need the mail verification. Do it.) - Join the Team
- Run your bot with your {api_token} {avaliable.mailaddr@email.com} and {bot_username}
After these steps, your bot will be treated as a normal user. So you could invite it to any channels.
BTW, I am using the python bot module mmpy_bot