Giter Site home page Giter Site logo

setup about discord-tutorial-bot HOT 8 OPEN

twlite avatar twlite commented on July 19, 2024
setup

from discord-tutorial-bot.

Comments (8)

udit2303 avatar udit2303 commented on July 19, 2024

First of all Install all dependencies by running npm install
Then Enter your token in index.js under client.config then run node index.js.
Note: Chatbot API doesn't work as of now and I'll be making a PR for that

from discord-tutorial-bot.

n1ke33 avatar n1ke33 commented on July 19, 2024

i got this error
node v12.16.1
îș§

Repl.it: Updating package configuration

--> npm init -y
Wrote to /home/runner/DarkmagentaZigzagDeal/package.json:

{
"name": "DarkmagentaZigzagDeal",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}

--> npm install node-fetch quick.db snowflake-api discord.js hastebin-gen

[email protected] install /home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3
prebuild-install || npm run build-release

prebuild-install WARN install No prebuilt binaries found (target=12.18.3 runtime=node arch=x64 libc= platform=linux)

[email protected] build-release /home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3
node-gyp rebuild --release

make: Entering directory '/home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3/build'
TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
TOUCH Release/obj.target/deps/locate_sqlite3.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-6/README.Bugs for instructions.
deps/sqlite3.target.mk:183: recipe for target 'Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o' failed
make: *** [Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o] Error 4
rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
make: Leaving directory '/home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-1019-gcp
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-release: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2020-12-10T10_59_58_901Z-debug.log
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || npm run build-release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2020-12-10T11_00_01_146Z-debug.log
exit status 1

Repl.it: Package operation failed.

from discord-tutorial-bot.

udit2303 avatar udit2303 commented on July 19, 2024

repl.it cannot install better-sqlite3 because it runs out of memory. I would recommend switching to a new host.
On most of the paid hosts, this wouldn't be a problem but if you want a free host, I would recommend something like BlueFox which is currently working fine for my bot.

from discord-tutorial-bot.

n1ke33 avatar n1ke33 commented on July 19, 2024

okay thanks do you have a discord that i can contact

from discord-tutorial-bot.

udit2303 avatar udit2303 commented on July 19, 2024

The link is the link to their discord

from discord-tutorial-bot.

n1ke33 avatar n1ke33 commented on July 19, 2024

i mean your discord

from discord-tutorial-bot.

udit2303 avatar udit2303 commented on July 19, 2024

i mean your discord

Here is the invite link to Snowflake Studio ❄

from discord-tutorial-bot.

n1ke33 avatar n1ke33 commented on July 19, 2024

Hi i tried it but its still not working all i want is a leveling bot

from discord-tutorial-bot.

Related Issues (2)

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.