Disclamer: We are not responsible for any problems that may occur with this bot. This includes but is not limited to: support for building/making the bot or banned accounts. We will however respond to any bugs/problems with the bot itself sending Chegg solutions.
EinsteinBot is a service that creates a super easy way to share Chegg answers with others using a Discord Bot. It only requires one Chegg account and everyone can use Chegg's service using the account. You only need the Chegg link, and EinsteinBot will send the solution provided by Chegg in the text channel.
EinsteinBot is pretty easy to deploy. Everything is open-source and free to use (except for the Chegg service itself, you will need your own account).
Sorted by answer types.
help
: Displays all commands of the bot.ping
: Pong! Displays the ping of the bot.source
: Displays the bot's GitHub repository.search <url>
: Searches for the solution of a problem from Chegg.
- A Discord account.
- A Chegg account that has a paid subscription.
- A computer that has Python 3.8 or higher (from python.org, not from Windows Store) installed.
Note: You will need to do all of these setup steps (Preferably in order).
- Go to Discord Developer Portal website and create a new application by clicking on New Application.
- After creating the application, click the application and copy the
Application ID
by clicking on Copy and save it for later. - Then on the left sidebar, click Bot.
- Create a new bot by clicking on Add Bot.
- Copy the
token
of the bot by clicking on Copy and save it for later.
- Download a web browser extension that allows you to download cookies.
- Chrome: EditThisCookie
- Firefox: Cookie-Editor
- Go to Chegg.com and #.
- At the home page, click the browser extension downloaded in Step 1. Then click the button that says Export. Copy the cookies and paste them into a .txt file named
cookie.txt
. - Get your user agent by going to a website called WhatMyUserAgent. We will only need the user agent from this site. Save this user agent somewhere as it is going to be used later.
- Clone this repository.
- Go into the folder that you cloned and create a new file called
config.json
. - Copy the following into the file:
{
"prefix": "THE BOTS PREFIX GOES HERE (ANYTHING YOU WANT)",
"token": "THE BOTS TOKEN GOES HERE (NOT THE CLIENT ID)",
"userAgent": "YOUR USER AGENT GOES HERE (REFER TO STEP 4 FROM CHEGG SETUP)"
}
- Copy the
cookie.txt
file from step 3 of Chegg Setup into the folder that you cloned. - Thats it! Run the bot in your command line from the folder you cloned using:
python -u bot.py
- You can invite the bot by putting your client id/application id in this link where it says
YOURAPPIDHERE
(this link already has all the permissions needed for the bot): https://discord.com/oauth2/authorize?client_id=YOURAPPIDHERE&scope=applications.commands%20bot&permissions=139586751552
EinsteinBot © DTSG, Released under the Apache License 2.0.
Authored and maintained by DouglasTaylorSupportGroup.