Comments (16)
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.
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.
show an image of your config
from discord-selfbot.
show an image of your config
Protect your token!
from discord-selfbot.
yes yes that is very important
from discord-selfbot.
from discord-selfbot.
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.
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.
Your ownerID isnt your name and discrim. if you right click on your self and click copy id
thats your ownerID
from discord-selfbot.
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.
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.
from discord-selfbot.
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.
YAY, THAT'S WORK ! Thanks !
from discord-selfbot.
But now, i just wanted to create a command... and that's not working...
There is the code :
And the error :
from discord-selfbot.
// 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)
- Game cycling broken HOT 3
- Is there a different way to make Rich Embeds? HOT 3
- selfbot returns "invalid ownerID. Must be a string of your own discord ID." HOT 5
- Run.bat isnt loading up correctly. HOT 2
- Bot cannot find eris. HOT 3
- WS Error HOT 1
- [Question] If possible, how can I generate a *new token for my account*? HOT 2
- Unclean WS close 4004 authentication failed. What does this mean, and how can I fix it? HOT 2
- Bot does not start HOT 1
- Misspelling in README HOT 1
- Selfbots are bannable HOT 2
- Getting this issue. how do I fix? HOT 4
- Invalid Owner ID HOT 3
- Syntax error
- Rich Game Cycling? HOT 2
- Commands not always listening?? HOT 2
- Playing and Streaming commands don't work HOT 1
- eris, module, disconnect error HOT 7
- can you do a updated one for microsoft edge? HOT 1
- Error when running "sudo npm start". HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-selfbot.