As Slack no longer provides an API to invite people, this is a Selenium Python script to do so

Overview

Slack batch

As Slack no longer provides an API to invite people, this is a Selenium Python script to do so. If you still have a legacy token check my other repo instead.

Installation

Docker (Recommended)

  1. Just run docker pull mehdibo/slack-batch

Directly on machine

  1. Make sure you have Python 3.9 installed
  2. Install Geckodriver
  3. Make sure you have Firefox installed too
  4. Run pip install -r requirements.txt and mkdir ./screenshots to create a screenshots folder

Usage

Via Docker (Recommended)

Run:

docker run --rm \
    -v /tmp:/tmp/files \
    mehdibo/slack-batch emails.txt --workspace https://test.slack.com --email YOUR_EMAIL --passwd YOUR_PASSWORD

Replace /tmp with the path where your emails.txt file exists

If you want to use the --screenshot flag

Directly on machine

usage: ./main.py [-h] --workspace WORKSPACE --email EMAIL --passwd PASSWD
                   [--verbose] [--screenshot]
                   emails

Send slack invitations

positional arguments:
  emails                A file that contains one email per line

optional arguments:
  -h, --help            show this help message and exit
  --workspace WORKSPACE
                        A url to your Slack workspace
  --email EMAIL         Your Slack workspace email
  --passwd PASSWD       Your Slack workspace password
  --verbose             Verbose mode
  --screenshot          Screenshot after every invite
You might also like...
a simple python script that monitors the binance hotwallet and refunds the withdrawal fee to encourage people to withdraw their Nano and help decentralisation

Nano_Binance_Refund_Bot a simple python script that monitors the binance hotwallet and refunds the withdrawal fee to encourage people to withdraw thei

Slack Developer Kit for Python

Python Slack SDK The Slack platform offers several APIs to build apps. Each Slack API delivers part of the capabilities from the platform, so that you

A Python app to serve Conveyor room requests and run approvals through Slack
A Python app to serve Conveyor room requests and run approvals through Slack

✨ CONVEYOR FOR SLACK ✨ This is a friendly little Python app that will allow you to integrate your instance of Conveyor with your Slack workspace. In o

A python library for creating Slack slash commands using AWS Lambda Functions

slashbot Slashbot makes it easy to create slash commands using AWS Lambda functions. These can be handy for creating a secure way to execute automated

Python app to notify via slack channel the status_code change from an URL

Python app to notify, via slack channel you choose to be notified, for the status_code change from the URL list you setup to be checked every yy seconds

Automation application was made by me using Google, Sheet and Slack APIs with Python.

README This application is used to transfer the data in the xlsx document we have to the Google Drive environment and calculate the "total budget" wit

A simple python bot that serves to send some notifications about GitHub events to Slack.
A simple python bot that serves to send some notifications about GitHub events to Slack.

github alerts slack bot πŸ€– What is it? πŸ” This is a simple bot that serves to send some notifications about GitHub events to Slack channels. These are

An script where it logs in your instagram account and follows people and likes their posts

InstaFollower An script where it logs in your instagram account and follows people and likes their posts (uses the tags to fetch people) Requirements:

A script to find the people whom you follow, but they don't follow you back
A script to find the people whom you follow, but they don't follow you back

insta-non-followers A script to find the people whom you follow, but they don't follow you back Dependencies: python3 libraries - instaloader, getpass

Owner
Mehdi Bounya
Mehdi Bounya
It is a temporary project to study discord interactions. You can set permissions conveniently when you invite a particular disk code bot.

Permission Bot λ””μŠ€μ½”λ“œ 내에 μžˆλŠ” message-components λ₯Ό μ—°κ΅¬ν•˜κΈ° μœ„ν•˜μ—¬ μ œμž‘λœ λ΄‡μž…λ‹ˆλ‹€. Setup /config/config_example.ini νŒŒμΌμ„ /config/config.ini으둜 λ³€ν™˜ν•©λ‹ˆλ‹€. config 파일의 κΈ°λ³Έ 양식은 μ•„

gunyu1019 4 Mar 7, 2022
Protect Discord server invite link

DiscordOauth2Join Protect discord server invite links! Setup I will not help setting up the discord application, but just python. First, install the r

ZEEE 4 Aug 12, 2021
Want to play What Would Rather on your Server? Invite the bot now!😏

What is this Bot? ?? What You Would Rather? is a Guessing game where you guess one thing. Long Description short Take this example: You typed r!rather

δΈ‚γ„šδΉˆδΉ™γƒ„ 2 Nov 17, 2021
A python script for hitting the kik API to enumerate people based on a username/userlist

kick3d Recon script for enumerating users off of the Kik API. This script has the ability to check single usernames or run through a userlist of usern

Sakura Samurai 19 Oct 4, 2021
A simple script & container to pull COVID data from covidlive.com.au and post a summary to a slack channel

CovidLive AU Summary Slackbot This bot is a very simple slackbot that pulls data, summarises and posts up to date AU COVID stats to a provided slack c

James 3 Dec 18, 2021
A quick and dirty script to scan the network, find default credentials on services and post a message to a Slack channel with the results.

A quick and dirty script to scan the network, find default credentials on services and post a message to a Slack channel with the results.

Security Weekly 11 Jun 3, 2022
Full-featured Python interface for the Slack API

This repository is archived and will not receive any updates It's time to say goodbye. I'm archiving Slacker. It's been getting harder to find time to

Oktay Sancak 1.6k Dec 13, 2022
A Flask inspired, decorator based API wrapper for Python-Slack.

A Flask inspired, decorator based API wrapper for Python-Slack. About Tangerine is a lightweight Slackbot framework that abstracts away all the boiler

Nick Ficano 149 Jun 30, 2022
Playing around with the slack api for learning purposes

SlackBotTest Playing around with the slack api for learning purposes and getting people to contribute Reason for this Project: Bots are very versatile

null 1 Nov 24, 2021
Nasdaq Cloud Data Service (NCDS) provides a modern and efficient method of delivery for realtime exchange data and other financial information. This repository provides an SDK for developing applications to access the NCDS.

Nasdaq Cloud Data Service (NCDS) Nasdaq Cloud Data Service (NCDS) provides a modern and efficient method of delivery for realtime exchange data and ot

Nasdaq 8 Dec 1, 2022