Skip to content

Python slack bot to forward messages from one channel to another using CLI

Notifications You must be signed in to change notification settings

azanbinzahid/slack-forward-messages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Forward Messages on Slack

Python slack bot to forward messages from one channel to another using CLI

Dependencies

  • Python 3.7 or above
  • Slack Legacy API Token

pip Dependencies

  • pip3 install slacker
  • pip install slacker

Config File

# config.py

slackAPItoken = "YOUR-LEGACY-API-TOKEN-HERE"

How To Run

  • Clone this repo
  • Get slack API token for your channel
  • Create a config file as described above
  • terminal > python3 forward.py
  • Follow prompts on CLI

Note

Uncomment hardcoded toChannel variable in forward.py

Issues

Create issues for improvements and suggestions

PRs

Most Welcome

About

Python slack bot to forward messages from one channel to another using CLI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages