Giter Site home page Giter Site logo

Help start bot about reactionrolebot HOT 18 CLOSED

mimickal avatar mimickal commented on May 31, 2024
Help start bot

from reactionrolebot.

Comments (18)

Mimickal avatar Mimickal commented on May 31, 2024

The bot is trying to load a bot account token from a file that isn't present. You need to create a file that contains the token (just the token, in plain text. Nothing else).

By default, the bot tries to load it from the file named in that error message (/etc/discord/ReactionRoleBot/token). Since you're on Windows, that path might not work right. You can use a different token by adding a file path to the command (example: node main.js path/to/my/token/file).

If you'd rather not mess around with setting up your own instance of the bot, you can use my instance from this page https://top.gg/bot/692585944934514738

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal i do
image

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Use the command node main.js token to load that file

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal error
image

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Oh, you need to set up your database. npm run knex migrate:latest

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal
image

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

You need to install the bot dependencies. Run npm install

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal
image

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Have you gone back through the other steps?

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal I'm completely done with 0 just now.

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Sorry, I'm not sure what you mean by that

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal "Have you gone back through the other steps?" - Yes.

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Try deleting the database file (should be dev.sqlite3 in the project root), and then run the database migration again npm run knex migrate:latest.

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal Not help. Can you give us a clean generated table? dev.sqlite3

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Try this. This should be compatible with current master (v1.1.1)
dev.sqlite.zip

Question -- are you just trying to run the bot? If so, I am running one you can use. https://top.gg/bot/692585944934514738

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

I'ts work, whanks ^_^

from reactionrolebot.

Barrer0 avatar Barrer0 commented on May 31, 2024

@Mimickal error for launch debian 9
image

from reactionrolebot.

Mimickal avatar Mimickal commented on May 31, 2024

Looks like you need to npm install on that remote server

from reactionrolebot.

Related Issues (16)

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.