slack-message-deleter
v1.0.7
Published
[](https://github.com/HiromiShikata/npm-cli-slack-message-deleter/actions/workflows/test.yml) [ in the-t
or--token
option when running the tool. - If your token starts with
xoxb-
, it is a Bot token and not have the necessary permissions to delete messages from other users. - The user who authorized the token must have the necessary permissions in the Slack workspace to delete messages.
- Be cautious when using these permissions, as they allow for broad access to your Slack workspace.
- Ensure you comply with your organization's policies and Slack's terms of service when using this tool.
Usage Example
To delete messages older than 10 minutes in the channel CFNN90G07
:
npx -y slack-message-deleter -t xoxp-your-user-oauth-token-here -c CFNN90G07 -m 10
Replace xoxp-your-user-oauth-token-here
with your actual User OAuth Token.
Contributing
See CONTRIBUTING.md
License
MIT