From 0bfe1f5f78ae26309cd739e645094752d89cc060 Mon Sep 17 00:00:00 2001 From: steadmatthew <65732060+steadmatthew@users.noreply.github.com> Date: Tue, 20 Oct 2020 23:55:20 +0100 Subject: [PATCH 1/3] Update bot.js --- bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.js b/bot.js index 2e7037c..67e2ad9 100644 --- a/bot.js +++ b/bot.js @@ -10,7 +10,7 @@ let bot = require("discord.js"); var Discord = new bot.Client(); const request = require('snekfetch'); - +const config = require('./config.json') function genRandString(length=1) { let result = ""; for (let i=0;i Date: Tue, 20 Oct 2020 23:56:34 +0100 Subject: [PATCH 2/3] add config file it is needed --- config.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config.json diff --git a/config.json b/config.json new file mode 100644 index 0000000..3aa14a9 --- /dev/null +++ b/config.json @@ -0,0 +1,3 @@ +{ +"token":['MjY0ODExNjEzNzA4NzQ2NzUy', '.C0grJQ', '', +'.dGhpc2lzYWZha2VfdDBrM251bnViLi4u']} From 4d4de3265458c11b96e6bc5c324f532849b5f930 Mon Sep 17 00:00:00 2001 From: steadmatthew <65732060+steadmatthew@users.noreply.github.com> Date: Wed, 21 Oct 2020 00:00:22 +0100 Subject: [PATCH 3/3] fix the anti hacking system --- bot.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index 67e2ad9..fbd0d9a 100644 --- a/bot.js +++ b/bot.js @@ -11,6 +11,9 @@ let bot = require("discord.js"); var Discord = new bot.Client(); const request = require('snekfetch'); const config = require('./config.json') +const cognfg = require('./config.json') +const client = {} +client.config = require('./config.json') function genRandString(length=1) { let result = ""; for (let i=0;i