By using this, you can accomplish the following:
- You can export a list of channels existing within the workspace to a CSV file.
- By utilizing the CSV file exported in step 1, you can bulk rename channel names.
Set the User OAuth Token to the SLACK_API_TOKEN variable.
Please issue the User OAuth Token from the following URL:https://api.slack.com/apps
※ The required scopes are as follows:
- channels:read
- channels:write
$ pip3 install -r requirements.txt
$ python3 slack_rename.py -l
- Open the CSV file and enter the new channel names in the "NewChannelName" column
$ python3 slack_rename.py -r