Open grantemj opened 3 years ago
Additionally / alternatively, let me know if there is a place to ask coding questions and whatnot. If there is, I recommend at least putting a link to that in the README.
thx!!
Hi, although I have entered the expected values in the owo bot, my own bot has never been opened somehow.
index.js also gives a token error. I started owo.js on the other hand, but it stayed the way I started it, no notification came. Besides, it is not active on the server.
Additionally / alternatively, let me know if there is a place to ask coding questions and whatnot. If there is, I recommend at least putting a link to that in the README.
thx!!
Hi I managed to run the bot successfully, but there are still more faulty parts in it.
I'm dealing with these bad parts, especially the mysql part.
1.) Let me tell you now, when you download this project, you extract it as a zip to a folder. 2.) You paste the secrets part into the folder where you put that zip, that is, you extracted it, and name the secrets folder as tokens. 3.) You create a file called goodwords.json in the token folder and paste it into it.
[
"exlampe",
"here"
]
4.) You create a file called influxdb.json in the token folder and paste it into it.
{
}
5.) You create a file called scuttester-auth.json in the tokens folder and paste it into it.
{
"token":"",
"admin":"",
"dbl":"",
"weebsh":"",
"patreonID":"",
"patreonSecret":"",
"patreonAccessToken":"",
"patreonRefreshToken":"",
"patreonRedirect":""
}
Now after doing these, you click the folder named Discord-OwO-Bot-master, then open the powerShell application and type npm install
.
There is node_modules
folder from the files after it is loaded, you click on it.
When you enter the merge-images folder from there, you will see that the module has been loaded missing.
You install the merge-images
module in another folder, take the dist
folder from it and add it to your missing merge-images
folder.
is it over ? no it's not over.
Discord-OwO-Bot-master\src\commands\commandList\admin There is a captcha.js file in the folder, inside that file
const captcha = require ('../../../../../ tokens / captcha.js'); delete part of it.
Discord-OwO-Bot-master\src\commands\commandList\utils
There is a covid.js
file in the folder, move it anywhere you want or delete it. because he is wrong I could not fix him.
these are enough to run the bot for now, but the commands part doesn't work.
I couldn't find what caused commands not to work
Now if you notice in the files it gives error due to mysql.
this error does not prevent the bot from running.
Now, to fix this error, there is a mysql.js
file in the Discord-OwO-Bot-master\src\utils folder, now you set the config part in this file. It's okay, now you can run it without any errors.
This is the part I call error, the part that appears in the consol, that is, we fix the errors when running.
I could not fix this part because I was having problems with mariadb on my own computer.
Now you can run it in powerShell by typing node index.js
. Minimum error occurred during booting.
Finally it's over, the bot is working now.
hi can u help me for self hosting ? my disc is huuduc#1391 pls add me
hello can u help me? pls add me DNA#6396 tysm
After many weeks of losing my hair, I FINALLY figured it out. There's a method within the code that makes the bot ignore commands if the guild is not in a whitelist This is why there's no errors appearing and no visible reason as to why nothing is happening.
src/eventHandlers/messageCreate.js
Replace the current guild IDs on line 8 with the ID of your servers you want it to run in. You can now run in debug mode and it will respond to commands
Merhabalar owo botta beklenen değerleri girmiş olmama rağmen kendi botum bir türlü açılmadı.
index.js ayrıca bir belirteç hatası verir. Öte yandan owo.js'ye başladım ama başladığım gibi kaldı, herhangi bir bildirim gelmedi. Ayrıca sunucuda aktif değildir.
Bilal selam rica etsem discord üzerinden beni ekleyip anlatabilir misin yapamadım da. yyagix#3393
Merhabalar owo botta beklenen değerler girilmiş olmamasına rağmen kendi botum bir şekilde açılmadı. index.js ayrıca bir belirteç hatası verir. Öte yandan owo.js'ye başladı ama başladığım gibi kaldı, herhangi bir bildirim gelmedi. Ayrıca sunucuda aktif değildir.
Bilal selam rica etsem discord üzerinden beni ekleyip anlatabilir yanlış yapamadım da. yyagix#3393
discord adresini atabilir misin
Merhabalar owo botta beklenen değerler girilmiş olmamasına rağmen kendi botum bir şekilde açılmadı. index.js ayrıca bir belirteç hatası verir. Öte yandan owo.js'ye başladı ama başladığım gibi kaldı, herhangi bir bildirim gelmedi. Ayrıca sunucuda aktif değildir.
Bilal selam rica etsem discord üzerinden beni ekleyip anlatabilir yanlış yapamadım da. yyagix#3393
discord adresini atabilir misin
yyagix#8855 teşekkürler
Ok
Bro, which version of NodeJS are you using? because I use nodeJS 18 installing the module npm install
always error
As author of https://github.com/ChristopherBThai/Discord-OwO-Bot/issues/176#issuecomment-834369039
There is an error in one or more of the installation stages here.
here is the problem i have solved which results in giving more errors and not loading the module itself directly. So it's a more chronic problem.
First, after opening the package.json
file, delete the "merge-images": "github:ChristopherBThai/merge-images#430c3ab",
part.
the part I show in the screenshot below
After this stage, it will start to load correctly, but there is another technical problem, it needs windows build tools.
ie https://github.com/nodejs/node-gyp needs it.
I think it is very difficult to install.
I'm telling you the exact solution to the problem, installing "https://github.com/nodejs/node-gyp" on your computer.
"https://www.python.org/downloads/release/python-360/" you download python to your computer from here.
Copy the folder you installed while installing python
Download and install "visual studio 2017 build tools" on your computer.
Type "npm config edit" and enter, a page will open
msvs_version=2015
python=C:\Users\VATAN\Desktop\genel\discord\pythonlar\python3.6.0/python.exe
By the way, since I installed the build tools 2015 version on my computer, you can change it according to your request.
Opposite the python section, there will be the folder where you installed python and it will show python.exe.
After doing these steps, type "npm install -g node-gyp" on the command line and wait, then type "node-gyp configure" on the command line and enter.
If it gives the following error, it means it has been installed.
Finally, you can type npm install
and enter.
and finally the modules load without any problems
If you remember, we deleted the "merge-images" part above, to install it, type npm install merge-images
and enter, it will be installed without any problems.
and okay, the modules part of the job is okay, see my article above for other problems.
https://github.com/ChristopherBThai/Discord-OwO-Bot/issues/176#issuecomment-834369039
You don't need to do the part below, because you've already done it.
Ok
Can you tell how to run the I am waiting for you on discord my username. crazy_warden_555
Salutations!
I'm a scrub when it comes to discord bots (and honestly node.js stuff too, but ill be able to figure stuff out once i get fully setup), so as I'm trying to setup my local environment to be able to add code and test my changes, I find myself a little lost as to how to move forward.
So far I've done the following:
node install
to get all the needed modulesnode index.js
andnode src/owo.js
But obvs the secret sauce files have dummy data in them right now. So I'm unsure what to replace the dummy data with, and if that is even necessary. Is there a way to bypass the need for these? Basically I'm just confused and not knowledgeable enough lol
Suggestion:
Add a section to the README or repo wiki that lays out [dumbed down] steps of how to get setup to be able to contribute and test and whatnot.