It's a simple discord bot built to see how a particular website looks on a particular device. The bot is Powered by @BrowserStack's ScreenShot API.
It will send you the screenshot of the website you mentioned in the command.
- Log in to your Discord Account.
- Visit the following link -
https://discord.com/oauth2/authorize?client_id=775333766141837313&scope=bot - Add the bot to your server.
1️⃣
!snap -{url} -{device}
Takes a screenshot of {url} using {device}.
Try !snap -https://google.com -windows-chrome
{url} : https://google.com
{device} : windows-chrome
2️⃣
!bs-devices
Returns the list of supported devices.
3️⃣
!bs-out -{token}
Checks the status of the screenshot job and returns the screenshot if the job is completed.
4️⃣
!bs-help
Returns this menu.
- fork and clone the repository.
- Run
npm install
oryarn
. - create a
.env
file and add your BrowserStack credentials as -
BSTACK_USER
- Username.
BSTACK_PASS
- Password. - Also add Discord Secret token to the
.env
file as -
DISCORD_BOT_TOKEN
- Token - Run the server by the command
npm .
( npm[space][dot] )
Built with ❤️ by @TheShubham99
Landing Page Design Credits - Alca Landing Page Design CodePen Link