GithubHelp home page GithubHelp logo

Comments (16)

TheRacingLion avatar TheRacingLion commented on June 1, 2024

Make sure that the token inside your config.json file is inside parentheses, and make sure that you are not missing any commas between lines. Most likely a problem on your end with the config file.

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

The problem is with the parentheses i think. But i dont know where i need to place it. Can you show me, please ?

from discord-selfbot.

GovernmentOfficial avatar GovernmentOfficial commented on June 1, 2024

show an image of your config

from discord-selfbot.

Aceheliflyer avatar Aceheliflyer commented on June 1, 2024

show an image of your config

Protect your token!

from discord-selfbot.

GovernmentOfficial avatar GovernmentOfficial commented on June 1, 2024

yes yes that is very important

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

Here it is
image

from discord-selfbot.

GovernmentOfficial avatar GovernmentOfficial commented on June 1, 2024

first of all take away the ("") around the token and keep one of the quotes other then that I don't see a problem

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

If i do that, the console return an error about a config error : Invalid ownerID. Must be a string of your Discord ID.

from discord-selfbot.

GovernmentOfficial avatar GovernmentOfficial commented on June 1, 2024

Your ownerID isnt your name and discrim. if you right click on your self and click copy id
thats your ownerID

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

Ok thanks, this error is fixed. But now, the console return the same error than before : Unexpected token M in JSON at position 16

from discord-selfbot.

TheRacingLion avatar TheRacingLion commented on June 1, 2024

Mind showing a picture of the updated config file? With the token protected like you did before. There is most likely something else wrong with it.

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

Yeah, sure :
image

from discord-selfbot.

TheRacingLion avatar TheRacingLion commented on June 1, 2024

Your token line should look like this:
"token": "Mteitdjgitgj",
and not like this:
"token": "("Mteitdjgitgj")",

Edit: When I said in the first comment parentheses, I meant to say quotation marks, blame my poor english. ;)

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

YAY, THAT'S WORK ! Thanks !

from discord-selfbot.

Feyko avatar Feyko commented on June 1, 2024

But now, i just wanted to create a command... and that's not working...
There is the code :
image
And the error :
image

from discord-selfbot.

TheRacingLion avatar TheRacingLion commented on June 1, 2024
// Optional comment string to describe the command.
module.exports = (self) => {
  self.registerCommand('mlem', function (msg, args) {
    this.embed(msg, { // Send an embed
      title: 'Embed title',
      description: 'Embed description',
      color: 4627433
    })
  })
}

This is taken from the command example in the readme. You placed some parentheses where they arent suppost to be and you are missing some closing brackets on some places. Also change deleteDelay to an actual number in milliseconds or just remove it from the code like in the example above. If at anytime the code of a command does not work, check it against the code examples from the readme to see what is wrong.

from discord-selfbot.

Related Issues (20)

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.