Code Monkey home page Code Monkey logo

botsforjeff's Introduction

BotsForJeff

bots setup and instructions for my bro Jeff

Clone and cd into the directory

git clone https://github.com/kneeraazon01/BotsForJeff
cd BotsForJeff

Now create one virtual environment that works for both Discord and Telegram bots

python3 -m venv venv

To activate the virtualenv in Linux/Mac

source venv/bin/activate

For windows Operating System

Scripts\activate.bat

Now install all the dependencies

pip install -r requirements.txt

Telegram Bot Setup and Cofiguration

Just run the following commands in your terminal

cd telegram-dm-bot
python setup.py -c

To scrape the users run

python scraper.py

Now you can run the sms bot with the following command

python smsbot.py

To add members to groups run

cd llattes
python SessionCreator.py
python Scraper.py 

and pass the username/code of the group as shown in the video, which will be the username/code from an invitation link

Now to add the members that have been scraped to members.txt to your group run

python MemberAdder.py

and provide the destination group as whosn in the video

That is all for the telegram bot

Discord Bot Setup and Cofiguration

copy your serverID, ChallelId and Authorizatin token from browser on inspecting you will get is as shown in the video

You just gotta run the following commands in your terminal

cd DiscordBot

To scrape the users run

python scraper.py

### Then to send the users DMs you have  to run the discord-mass-dm.exc in your windows OS that is all

### If you missout anything I recommend you watch the video again 

Thanks!

botsforjeff's People

Contributors

kneeraazon404 avatar

Watchers

James Cloos avatar  avatar

botsforjeff's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.