Giter Club home page Giter Club logo

screenshotbot's Introduction

Screenshotbot

A simple discord bot that sends you a screenshot of any webpage using puppeteer.

How to configure:

Install node.js

Edit the following variables on the top:

Set the discordtoken variable to your discord bot token Set the prefix variable to the command prefix you want. (Default is !) Set the captchakey variable to your 2captcha key (not required if you don't want the bot to be able to solve captchas)

If you want the bot to have the ability to log into a certain website follow the following steps (not required):

Download the editthiscookie extension from the chrome web store Navigate to the website you want to be able to login to Click the following button and the cookies will be exported and saved to your clipboard Button The cookies are exported as an array so all you have to do is set the cookie variable equal to the array you get! To do this replace let cookie = [] with: let cookie = the cookies you copied to clipboard

the cookies you copied to clipboard should be in this format: [{cookie1object},{cookie2object},{cookie3object},{etc.}]

Run the following Commands:

npm i discord.js puppeteer puppeteer-extra puppeteer-extra-plugin-recaptcha puppeteer-extra-plugin-stealth express

node server.js

screenshotbot's People

Contributors

carcraftz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sonhunuk

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.