GithubHelp home page GithubHelp logo

theracinglion / discord-selfbot Goto Github PK

View Code? Open in Web Editor NEW
140.0 17.0 104.0 75 KB

A javascript discord selfbot that is setup and ready to go in less than 5 min.

License: MIT License

JavaScript 97.78% Batchfile 2.22%
discord bot discord-selfbot mention-logger eris-selfbot avatar-rotator keyword-notifier selfbot

discord-selfbot's Introduction

~ Discord Selfbot ~

A selfbot for Discord that is setup and ready to go in less than 5 minutes.
(If you already have the required programs installed)


Index

  1. Before Setup
  2. SelfBot Setup
  1. Commands
  2. License

Before Setup

Selfbots on Discord

Selfbots are officially banned. Those caught using one, will most likely be banned from Discord and have their account disabled. It has been considered as an API abuse and is no longer tolerated. Today (19/06/2018), I have decided to archive this repository and provide no more help for this project. You are still free to use it at your own risk, although like I have said many times before I am not responsible for anything you decide to do with your selfbot. Most of the code on this repository is very outdated, and if it were today, I would probably do it completely different. Maybe some day I will make another project that you will enjoy. Thanks to everyone that has used it! :D

Rules

Please remember that selfbots arent fully suported by Discord and that it should only be used to make YOUR life easier and not others. Also keep in mind that discord has a set of semi-offical rules regarding selfbots:

  • A selfbot must not, under any circumstance, respond to other user's messages. This means it should not respond to commands, should not autoreply to certain keywords, etc. You must be the only one that can control it.
  • A selfbot must not, under any circumstance, do "invite scraping". This is the action of detecting server invites in chat, and automatically joining a server using that invite.
  • As selfbots run under your account they are subject to the same Terms of Service. Meaning they should not spam, insult or demean others, post NSFW material, spread viruses or illegal material, etc. They have to follow the same rules that you follow.

IF, and only if, you accept the above rules of selfbots, then you may proceed.

SelfBot Setup

- Install Required Programs -

Before you can download and setup the bot, there are 2 programs you need to have installed on your computer to make sure everything runs on first go:

- Download Project Files -

After you have the required programs installed, you can go ahead and download the project files. To do that, you either download the ZIP folder or do git clone https://github.com/TheRacingLion/Discord-SelfBot.git if you are a console person. Once you finish downloading it,you will be ready to setup the config files.

- Setup Config Files -

Once you download the project files you will see a folder named config. Inside of it will be 4 files and 1 folder:

  • avatars
  • config.json
  • games.json
  • keywords.json
  • paste.json

avatars

This is the folder where you drag and drop your avatar images if you enabled avatar rotating.

config.json

This is the main config file. Inside you will see several options. This is what each one means:

  • token is your Discord token. (if you don't know what a Discord token is, or how to get yours, check out this tutorial made by me)
  • ownerID is your discord ID
  • prefix is the desired prefix for bot commands (can use @mention if you want the prefix to be your Discord mention)
  • rotatePlayingGame, if you want your Discord playing game to rotate games (from the games.json file)
  • rotatePlayingGameTime, if you do want the game to rotate, this is the time interval you want for it (in milliseconds)
  • rotatePlayingGameInStreamingStatus, if you do want the game to rotate, if you want it to rotate in streaming status
  • rotateAvatarImage, if you want your Discord avatar image to rotate (from the images in config/avatars folder)
  • rotateAvatarImageTime, if you do want the avatar to rotate, this is the time interval you want for it (in milliseconds)
  • defaultStatus, the default Discord status to show on your account. Either "online", "idle", "dnd" (Do Not Disturb) or "invisible"
  • mentionNotificator (if you want to have your mentions notified)
    • inConsole (as a log to console)
    • inNotificationChannel (as a message sent to the notification channel)
    • logBlockedUsers (if you want users you blocked to be logged or not)
    • ignoredServers (an array of server ID's you want the bot to ignore when searching for mentions)
  • keywordNotificator (if you want to have specific keywords notified)
    • inConsole (as a log to console)
    • inNotificationChannel (as a message sent to the notification channel)
    • logBlockedUsers (if you want users you blocked to be logged or not)
    • caseInsensitive (if you want the bot to search for the keywords while paying attention to the letter case or not)
    • ignoredServers (an array of server ID's you want the bot to ignore when searching for keywords)
  • eventNotificator (if you want to have events like guild creations, or friend requests notified)
    • inConsole (as a log to console)
    • inNotificationChannel (as a message sent to the notification channel)
  • notificationChannelID, if you set inNotificationChannel to true at least once, the channel ID to make notifications in
  • defaultEmbedColor is the hex color code for the default color for embeds
  • deleteCommandMessages if command messages and error messages should be deleted after a bit
  • deleteCommandMessagesTime if you do want the command messages deleted, this is the time the bot should wait before doing it (in milliseconds)
  • PSN PSN Status setup
    • enabled (if you want to use PSN Status reporting)
    • email is your PSN email
    • password is your PSN password
    • psnid is the PSN ID you want to report on
  • XBOX XBOX Status setup
    • enabled (if you want to use XBOX Status reporting)
    • gamertag is the XBOX Gamertag you want to report on
    • apikey is your apikey from http://xboxapi.com sign up for a free account

games.json

This is where the game names you want to use for the rotating playing game option are. To add or delete games, just follow the structure of the games that are already on it. (If you have set the rotatePlayingGame option in the config.json file to false, then you dont need to worry about this file)

keywords.json

This is where the keywords that you want the bot to search for go in. (If you have set the keywordNotificator options in the config.json file to false, then you dont need to worry about this file)

paste.json

This file is where the meme texts are stored for the paste command, if you wish to add more to use with paste just follow the structure of the file and add them in. If an array is specified for one of the options then the bot will choose a random item from the array.

- Start the bot -

When you have the required programs installed, have all project files, and have setup config files, you can start the bot:

Windows

Open the installer.bat file. This will install the required node modules (so you dont have to do it yourself) and create a run.bat file. You can use this file to start the bot. If you did everything correctly, the bot should start up fine.

If for some reason you have ran installer.bat, it disapeared and it didnt create run.bat, then re-download installer.bat and try again. Most likely either git or node were not installed correctly. Check if they work and try again.

Linux / Mac

Executable files are kind of weird in Linux, and users most likely use console to do their work, so to setup this selfbot on linux or mac open a terminal in the directory you downloaded the files to and type npm i. Once it is finished you can start the selfbot by using npm start or node self.js. If you did everything correctly, the bot should start up fine.

Commands

All commands get logged to console, are case insensentive and are tested to see if the owner of the bot was the one who triggered the command. It should be easy to create commands if you know the basics of JavaScript. The library used is Eris.

- Default Commands -

The bot has several default commands. (Each command is explained inside their own file.) You can find a detailed command list here.

- Creating Commands -

When you want to create a new command, just add a new file to the commands folder and name it something like mycommand.js and then follow the basic structure below. If your command needs some kind of special options like permissions or you just want to set it to be used on guilds only, then you can use the pre-made command options shown below. There are also some helper functions built in to the function.

/*
  Optional comment string to describe the command.
*/
module.exports = (self) => {
  self.registerCommand('mycommand', function (msg, args) {
    // Do something with msg or args

    this.send(msg, 'This is some text', deleteDelay) // Send a message

    this.embed(msg, { // Send an embed
      title: 'Embed title',
      description: 'Embed description',
      color: 4627433
    }, deleteDelay)

    this.findMember(msg, args[0]) // Find a guild member
  }, {
    noPms: false, // Will only work on guilds (No PM's)
    aliases: ['cmd', 'mycmd'], // Will make "cmd" and "mycmd" be an alias of "mycommand"
    perms: [ // Will only do the command if you have the "Manage channels" AND the "Manage Nicknames" permissions
      'manageChannels',
      'manageNicknames'
    ],
    deleteAfter: false // Delete the command message after the command was done or not
  })
}

- Logging -

The selfbot comes with its own logger file, which includes a few options to log things to console. If you know what you are doing, you can add many more. It uses Chalk to change the color of the logged text, so you can change the colors if you do not like them.

Normal Logs

If you just want to log text to console, you can do:

log.log('Text you want to log', 'Logger title', 'Chalk color that you want for the logger title', timed)
/*
  Logger title is optional
  Check all chalk colors at https://www.npmjs.com/package/chalk#colors
  "timed" is either true or false. Adds a timestamp to the log. (Default is false)
*/

Warning Logs

If you want to log a warning to console, you can do:

log.warn('Something weird but non-breaking happened', 'Warning origin')
// Warning origin means the place where the warning came from (optional)

Error Logs

If you want to log errors to console, you can do:

let err = 'This is an error'
log.err(err, 'Error origin')
// Error origin means the place where the error came from (optional)

License

MIT. Copyright © 2016, 2017, 2018 TheRacingLion.

discord-selfbot's People

Contributors

ajmeese7 avatar arzte avatar delphiactual avatar julianschiavo avatar mosesvinson avatar tegenton avatar theracinglion avatar vap0r1ze avatar washingdone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord-selfbot's Issues

Good Bye message logging

2.4 End User Data.
“End User Data” means all data associated with the content within the functionality enabled by the API or SDK, including but not limited to message content, message metadata, voice data and voice metadata. You acknowledge and agree that Discord and its end users, as applicable, retain all worldwide right, title and interest in and to the End User Data. If you have access to End User Data, you shall ensure that your Applications do not collect, use and/or disclose End User Data except (a) as necessary to exercise your rights under this Agreement, (b) as expressly permitted by the End Users, and (c) in accordance with Discord’s Privacy Policy. You shall not sell, license or otherwise commercialize any End User Data. You may not use End User Data to target End Users for marketing or advertising purposes. You may not disclose End User Data to any ad network, data broker or other advertising or monetization related service. You shall permanently delete all End User Data upon Discord’s or the End User’s request and within seven (7) days following the End User’s termination of the End User’s account. You may only retain chat logs as necessary for the operation of your Applications. Discord’s offering of an API or SDK that allows you to reproduce or display End User message content is not an express or implied license to such content from Discord. You must seek permission from End Users.
This means that any bot that logs messages or even stores user IDs now breaks the terms of service, unless it explicitly asks the user it's logging for permission. This outlaws logging bots, bots with features like temp ban, bots which reassign roles when rejoining, etc.
Source: The New TOS

Paste error

Whenever I try to add my own paste into the config, I get an error for an unexpected string. And it's not even in the new paste I added, it's in a previously existing one.

Wont start

Everytime I try starting the bot I keep getting this
screenshot_1

Apperently ᴏᴡɴᴇʀ and ᴇxᴘʟɪᴄɪᴛCᴏɴᴛᴇɴᴛFɪʟᴛᴇʀ will not work.

If I use msg.channel.guild.owner or msg.channel.guild.explicitContentFilter , it just shows undefined. Everything else like msg.channel.guild.ownerID and msg.channel.guild.verificationLevel works just fine.

Edit: msg.channel.guild.createdTimestamp also doesn't work.
Edit x2: self.user.createdTimestamp also doesn't work.

Edit x3: Just realized that those don't exist in Eris, just discord.js. Not sure what I was thinking there.

cannot connect...

I was having another issue but actually it worked but now it says that it cant connect to discord and says its disconnected... it was working earlier but now it doesn't. I have a proper config file and stuff. tell me if u need logs

run.bat error

whenever I try to open run.bat I get a repeated error

Checking Config File...
Config is valid. Starting bot...
Loading 12 command files...
Finished
Unclean WS close: 4004: authentication failed.
Disconnected from discord

Can you please tell me whats happening or what i did wrong

Embeds dont have authors

I'm doing -me hello and it turns out as:
screen shot 2017-07-14 at 7 46 02 pm

If I do -me @bob hello it says:
screen shot 2017-07-14 at 7 47 06 pm
(theres nobody called bob, but when I do that with a real tag its the same, but they are tagged)

I don't even know what -me @bob @joe does

404 Error When Using Prune Command

[18:39:58] Promise was rejected but there was no error handler Error
Error: 404 NOT FOUND on DELETE /channels/247946179650912256/messages/307284761695748096

{"code": 10008, "message": "Unknown Message"}
    at IncomingMessage.resp.once (C:\Users\acehe_000\Desktop\Discord-SelfBot\node_modules\eris\lib\rest\RequestHandler.js:198:39)
    at IncomingMessage.g (events.js:292:16)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

I've tried to fix it, but I haven't figured it out. I even did a clean install on my second computer to see if it would fix the problem, however it did not.

Receiving mobile notifications

I love your selfbot but ever since using it, I havnt been receiving mobile notifications from discord. I believe it has to do with Discord thinking that I'm active and not afk. Is there something I can do to enable mobile notifications?

Unexpected token } in JSON at position 907

So I had the bot running a while back. But I was logging a word I didn't want, and after failing to find out how to restart the bot with a command, I closed cmd and restarted it.

But now it gives me this error:

module.js:590
    throw err;
    ^

SyntaxError: C:\Users\LordKarma88\AppData\Roaming\discordptb\Selfbot\TheRacingLion\config\config.json: Unexpected token } in JSON at position 907
    at Object.parse (native)
    at Object.Module._extensions..json (module.js:587:27)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\LordKarma88\AppData\Roaming\discordptb\Selfbot\TheRacingLion\self.js:15:16)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)

Yes, I am sure the token is right: "token": "MjI1ODEyNDg1whatever",

Also, there isn't any position 907 in config.json. Any idea what's wrong?

Throw Err Module.js:591

ted token
in JSON at position 109
at JSON.parse ()
at Object.Module._extensions..json (module.js:588:27)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.

When "npm start" is run

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: node self.js
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:821:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd /Users/***********/Downloads/Discord-SelfBot-master
12 error Darwin 16.3.0
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
14 error node v4.3.0
15 error npm v2.14.12
16 error code ELIFECYCLE
17 error [email protected] start: node self.js
17 error Exit status 1
18 error Failed at the [email protected] start script 'node self.js'.
18 error This is most likely a problem with the Discord_Selfbot package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node self.js
18 error You can get their info via:
18 error npm owner ls Discord_Selfbot
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Error: Request timed out

Does your bot support http proxy? I got this error when trying to use bot:

[10:33:40] Bot Error
Error: Request timed out (>15000ms) on GET /gateway
at ClientRequest. (Discord-SelfBot\node_modules\eris\lib\rest\RequestHandler.js:256:32)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:86:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.emitTimeout (_http_client.js:679:10)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:188:7)
at TLSSocket.Socket._onTimeout (net.js:351:8)
at ontimeout (timers.js:386:14)

Embedding Message Question

How can I do a rich text form for embed messages? I want a footer, rich text format, icon of server and multiple lines (fields). Please get to me asap. Thanks!

[Enhancement] MentionStalker activates upon Role Mention

Perhaps the Mention Stalker should also check if the user is mentioned through a role, or by a global ping (@everyone or @here).

Example code that I use in my customized version of the bot:

function checkForMention(self,msg) {
  if(msg.mentionEveryone) return "@everyone";
  for(var i=0;i<msg.mentions.length;i++) {
    if(msg.mentions[i].id==self.user.id) return "@"+self.user.username+"#"+self.user.discriminator;
  }
  var myRoles = msg.channel.guild.members.find((mem)=>{
    return mem.user.id==self.user.id;
  }).roles;
  
  var mArr = _.intersection(myRoles,msg.roleMentions);
  
  if(mArr.length>0) {
    return "@"+msg.channel.guild.roles.find(role=>{return role.id==mArr[0]}).name;
  }
  
  return false;
}

No idea if it's the best. But it gets the job done for me.

Note that I use this instead of the ~msg.content.indexOf(self.user.id) section, and check it against false, and if it's not false, use the returned value instead of "you" in the notification.

Help!

When i type - streaming Burger
nothin happens ;-;

Commands other than "me" aren't working

So I had some issues with adding my own paste command (lenny face) and the console made a booboo so I did everything from scratch and all was good with defaults until I tried to use the paste and ping commands that only displayed the trigger for the command and didn't replace the text.

Command messages auto deleting, the command line and the message that's posted

Hello again, so I'm using the me command to post custom announcements and it'll post the me command delete the "/me text" then it'll delete the new message that just says "text" with the side border, etc etc after a few seconds. This didn't happen previously in other builds with less going on in the config file.

Can't seem to get `noPms: true` to work.

As the name suggests, I've been trying to get noPms: true to work for me, but doesn't seem to want to work, if you need my code here it is.

(I assume this is an error on my part since it works with the ban and kick command flawlessly.)

Hey, I just want to know why this isn't working.

I ran the installer after putting my discord # and token, and when I run "run", this shows up

Error: Cannot find module 'eris'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\Hanmin\Desktop\Discord-SelfBot-master\self.js:7:14)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

Not working

oem@1337 ~/Desktop/Discord-SelfBot-master $ sudo node self.js
[sudo] password for oem:
/home/oem/Desktop/Discord-SelfBot-master/self.js:25
let isReady = false
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3

Mention logging

I run into this anytime someone mentions me, it doesn't log to a channel

TypeError: Cannot read property 'id' of undefined
    at CommandClient.self.on (/Users/ellistonjames/Documents/bots/Discord-SelfBot/utils/mentionStalker.js:12:88)
    at emitOne (events.js:101:20)
    at CommandClient.emit (events.js:188:7)
    at Shard.wsEvent (/Users/ellistonjames/Documents/bots/Discord-SelfBot/node_modules/eris/lib/gateway/Shard.js:394:33)
    at WebSocket.ws.onmessage (/Users/ellistonjames/Documents/bots/Discord-SelfBot/node_modules/eris/lib/gateway/Shard.js:1425:34)
    at WebSocket.onMessage (/Users/ellistonjames/Documents/bots/Discord-SelfBot/node_modules/ws/lib/WebSocket.js:442:14)
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/Users/ellistonjames/Documents/bots/Discord-SelfBot/node_modules/ws/lib/WebSocket.js:841:10)
    at /Users/ellistonjames/Documents/bots/Discord-SelfBot/node_modules/ws/lib/Receiver.js:536:18```

400 Bad request when using mention stalker

(removed webhook token) I receive this error when being mentioned or have a keyword mentioned

[16:08:10] Promise was rejected but there was no error handler Error
Error: 400 BAD REQUEST on POST `/webhooks/301921879885873153/0b_f5u0

{"embeds": ["0"]}
at IncomingMessage._respStream.on.once (C:\Users\ellis\Documents\Discord\Discord-SelfBot\node_modules\eris\lib\rest\RequestHandler.js:232:39)
at Object.onceWrapper (events.js:314:30)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1047:12)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)

[16:08:10] Promise was rejected but there was no error handler Error
Error: 400 BAD REQUEST on POST /webhooks/301921879885873153/0b7QpnD06MVqc

{"embeds": ["0"]}
at IncomingMessage._respStream.on.once (C:\Users\ellis\Documents\Discord\Discord-SelfBot\node_modules\eris\lib\rest\RequestHandler.js:232:39)
at Object.onceWrapper (events.js:314:30)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1047:12)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)

Problem when running npm start

I have installed everything, npm i worked well.

I get this issue:
screen shot 2017-07-14 at 3 55 14 pm

Heres part of the config file, hopefully without identifying information.
screen shot 2017-07-14 at 3 57 22 pm

Thanks

Selfbot registers commands from others

Commands like nick sent by non-selfbot users are evaluated with an unhandled Promise exception, basically letting others change our nickname at will if they know the prefix.
I'm guessing the problem might be in the defaultCommandOptions.

HELP!

[email protected] start /home/rick/Discord-SelfBot
node self.js

sh: 1: node: not found

npm ERR! [email protected] start: node self.js
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the Discord_Selfbot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node self.js
npm ERR! You can get their info via:
npm ERR! npm owner ls Discord_Selfbot
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /home/rick/Discord-SelfBot
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/rick/Discord-SelfBot/npm-debug.log
npm ERR! not ok code 0

suggestion

IK this isn't the right section but I didn't know where to place else.
Is it possible to let the selfbot type >payday every 5 minutes or give updates every 5 minutes.

I get the clock error a lot but I'm not sure if I can fix it

I keep on getting this error:

[21:54:07] Bot Error
Error: Your clock is 5554ms behind Discord's server clock. Please check your connection and system time.
    at ClientRequest.req.once (C:\Users\LordKarma88\AppData\Roaming\discordptb\Selfbot\TheRacingLion\node_modules\eris\lib\rest\RequestHandler.js:166:56)
    at ClientRequest.g (events.js:292:16)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
    at TLSSocket.socketOnData (_http_client.js:362:20)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)

The problem is, I'm not too sure how to fix that. I know that computer clocks aren't very precise, and they don't check with the world time very often, and thus it makes sense to me that my system clock is a bit off.
Does anybody have a way to fix it, and if not, is there anyway I can prevent that error from flooding my log?

Refusing ID

{
"token": "????????????????????????????????????????????????????????????",
"ownerID": "331011619452878859",
"prefix": "-",
"rotatePlayingGame": true,
"rotatePlayingGameTime" : 150000,
"rotatePlayingGameInStreamingStatus": false,
"rotateAvatarImage": true,
"rotateAvatarImageTime" : 600000,
"defaultStatus": "idle",
"mentionNotificator": {
"inConsole": true,
"inNotificationChannel": true,
"logBlockedUsers": false,
"ignoredServers": ["SERVER ID"]
},
"keywordNotificator": {
"inConsole": true,
"inNotificationChannel": true,
"logBlockedUsers": false,
"caseInsensitive": true,
"ignoredServers": ["SERVER ID"]
},
"eventNotificator": {
"inConsole": true,
"inNotificationChannel": false
},
"notificationChannelID": "Notification channel ID if you set 'inNotificationChannel' to true at least once",
"defaultEmbedColor": "#117ea6",
"deleteCommandMessages": true,
"deleteCommandMessagesTime": 15000
}

results in:

SyntaxError: /Users/Alzter/Desktop/Discord-SelfBot-master/config/games.json: Unexpected token
in JSON at position 91
at JSON.parse ()
at Object.Module._extensions..json (module.js:588:27)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/Users/Alzter/Desktop/Discord-SelfBot-master/self.js:16:15)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node self.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start 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! /Users/Alzter/.npm/_logs/2017-07-05T06_10_27_070Z-debug.log

(Each character of the token is replaced with question marks)

Fix this.

Eval commands

Alright I see in the commands for eval is me(eval self
me( is my prefix
I do me(eval self and it gives a error in the console that it is longer then 2000 words and I wanted to see what it does. Also I was wondering what other eval commands I can do

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.