Enabling multiple accounts to use commands in AWS Chatbot
You can configure AWS Chatbot for multiple AWS accounts in the same chat channel. When you work with AWS Chatbot for the first time in that channel, it will ask you which account you want to use. AWS Chatbot will remember the account selection for 7 days.
To change the default account in the channel, enter @aws set default-account
and select the account from the list.