-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am facing a problem #2
Comments
I've solved that but got this error instead ;( C:\Users\ACER\EinsteinBot>pip install discord.ui C:\Users\ACER\EinsteinBot>python bot.py The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Hi, im going through the same issue as well and have no clue what to do lol |
are u running it on vsc? |
Hey so i've done everything i could do and the solution i found that work for me was to use this command: pip3 install -r requirements.txt |
and then try running it after |
@vDucky Tried many ways sstill have error as shown in the picture above. Below is the error code in powershell when i run /help PS C:\Users\ACER\EinsteinBot> python -u bot.py The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Hi guy the bot is working just fine for me what i did like below 1st login to your discord dev and do all the below as given instruction in readme
** important copy and keep your bot token and application id ** then
install the extension based what browser you're using.
Ones sign in click the extension icon then click the circle red part it will export the cookies then create cookies.txt file inside the place where the code is and paste this cookie inside and save. then go to what is my user agent website on the browser that you copy the cookie. The 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. press copy and keep in a notepad for now now you should have total of 4 important stuff which is
now what you have to do is since you'all would have download the repo can skip 1st step
{
"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)"
} before you run the command you have to install the requirement files using this command pip install -r requirements.txt or pip3 install -r requirements.txt then invite the bot to your discord server at your app id here paste your application id you save before and invite the bot to the server Thats it! Run the bot in your command line from the folder you cloned using: python -u bot.py @Raymond9266 @vDucky |
|
@vDucky Hi when you install pip3 install -r requirements.txt did you encounter any problem ? |
|
The bot (my personal bot) works perfectly for all the questions I throw at it. There are some specific questions that do not work (one being the answer type mentioned here #1 ), however most work. |
Hi, i tried to run bot.py but got this error, may i know how to solve it? Thanks
C:\EinsteinBot-master>python -u bot.py
Traceback (most recent call last):
File "C:\EinsteinBot-master\bot.py", line 3, in
import discord
ModuleNotFoundError: No module named 'discord' @jckli
The text was updated successfully, but these errors were encountered: