├── .dockerignore
├── .github
└── FUNDING.yml
├── .gitignore
├── FAQ.md
├── README.md
├── download.js
├── electron
├── buildResources
│ └── icon.png
├── dist
│ └── builder-effective-config.yaml
├── index.js
└── package.json
├── extension.zip
├── extension
├── images
│ ├── 128.jpg
│ ├── 128.png
│ ├── 16.jpg
│ ├── 16.png
│ ├── 256.jpg
│ ├── 256.png
│ ├── 32.jpg
│ ├── 32.png
│ ├── 48.jpg
│ ├── 48.png
│ ├── 96.jpg
│ ├── 96.png
│ ├── icon.png
│ ├── logo.png
│ └── logo.svg
├── manifest.json
├── popup.html
├── popup.js
└── script.js
├── index.html
├── index.js
└── package.json
/.dockerignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | .vscode/
3 | test2.js
4 | config.json
5 | npm-debug.log
6 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | patreon: flam3rboy
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | package-lock.json
3 | .vscode/
4 | test2.js
5 | config.json
6 | npm-debug.log
7 | extension.pem
8 | dist/
9 | assets/
--------------------------------------------------------------------------------
/FAQ.md:
--------------------------------------------------------------------------------
1 | # FAQ:
2 |
3 |
4 | ### Disclaimer:
5 | - This application is for developers only (if you don't know how to use it, dont use it and don't ask for help).
6 | - We do not offer support in any way.
7 | - This application requires a basic understanding of Discord bots and how to use them, again, don't ask for help.
8 |
9 |
10 |
11 | # Common Errors:
12 | ### most common fixes:
13 | - reload (control + r)
14 | - restart (app & pc)
15 | - reinstall
16 | - use portable version
17 | ## Blank Screen or error message:
18 | - view [Most common fixes](https://github.com/Flam3rboy/discord-bot-client/blob/master/FAQ.md#most-common-fixes)
19 | ## Not able to run App:
20 | - view [Most common fixes](https://github.com/Flam3rboy/discord-bot-client/blob/master/FAQ.md#most-common-fixes)
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | | [Download](https://github.com/samuelscheit/discord-bot-client/releases/tag/3.1.0) | [FAQ](https://github.com/samuelscheit/discord-bot-client/blob/master/FAQ.md) | [Tutorial](https://www.youtube.com/watch?v=AmKBFzJOMpY) |
10 | | :---: | :---: | :---: |
11 |
12 |
13 |
14 | ---
15 |
16 | **Discord Bot Client** allows you to use your bot, just like any other user account, except Friends and Groups.
17 |
18 | ### **No longer Maintained**
19 |
20 | ---
21 | 
22 | - **View Guilds** *(Lazy load them)*
23 | - **Manage Guilds** (Name, Image, Audit log, Emoji, Webhooks, Invites, Bans, Widget, Moderation, Roles)
24 | - **Manage Channels** (Add, Delete, Name, Permissions, Invites, Webhooks, Slowmode, NSFW, Topic)
25 | - **Messages** (Send, View History, Embeds, View Reactions, Add/Remove Reactions, Delete, Edit, Pin)
26 | - **Create a Guild** (if the bot has fewer than 10 Servers)
27 | - **Voice Support**
28 | - **See Guild members in the side bar** (you can see them in the server dropdown menu under members)
29 | - **Use Emojis from other servers** (Nitro)
30 | - **GIF Search**
31 | - **Send Files**
32 | - **DM's** (DM's will show up, after a user dms the bot)
33 |
34 | ---
35 |
36 | 
37 |
38 | > __You need to install [NodeJS](https://nodejs.org/en/download/).__ Install git or just download the repository as a zip file:
39 |
40 | ```js
41 | git clone https://github.com/samuelscheit/discord-bot-client
42 | cd discord-bot-client/electron
43 | ```
44 |
45 | > Install all dependencies with ```npm i``` start Bot Client with ```electron .```
46 | >
47 |
48 |
49 | *Discord Bot Client is **no longer supported** and also no longer updated or maintained.*
50 |
--------------------------------------------------------------------------------
/download.js:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/electron/buildResources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/electron/buildResources/icon.png
--------------------------------------------------------------------------------
/electron/dist/builder-effective-config.yaml:
--------------------------------------------------------------------------------
1 | directories:
2 | output: dist
3 | buildResources: build
4 | mac:
5 | category: public.app-category.social-networking
6 | target:
7 | - dmg
8 | - zip
9 | icon: buildResources/icon.png
10 | linux:
11 | target:
12 | - apk
13 | icon: buildResources/icon.png
14 | win:
15 | target:
16 | - target: nsis
17 | arch:
18 | - x64
19 | - ia32
20 | icon: buildResources/icon.png
21 | electronVersion: 9.1.2
22 |
--------------------------------------------------------------------------------
/electron/index.js:
--------------------------------------------------------------------------------
1 | const { app, BrowserWindow, systemPreferences } = require("electron");
2 | const fetch = require("node-fetch");
3 | const btoa = require("btoa");
4 | const fs = require("fs");
5 |
6 | async function createWindow() {
7 | var html = await fetch("https://raw.githubusercontent.com/Flam3rboy/discord-bot-client/master/index.html");
8 | // html = fs.readFileSync(__dirname + "/../index.html");
9 | html = await html.text();
10 | // Create the browser window.
11 | let win = new BrowserWindow({
12 | width: 1920,
13 | height: 1080,
14 | icon: __dirname + "/buildResources/icon.png",
15 | webPreferences: {
16 | webSecurity: true,
17 | nodeIntegration: false,
18 | enableRemoteModule: false,
19 | contextIsolation: true,
20 | },
21 | });
22 | // win.webContents.openDevTools();
23 | win.webContents.on("did-navigate", () => {
24 | win.webContents.executeJavaScript(`document.write(atob("${btoa(html)}"))`);
25 | });
26 | if (systemPreferences && systemPreferences.askForMediaAccess) systemPreferences.askForMediaAccess("microphone");
27 | win.webContents.on("new-window", function (e, url) {
28 | e.preventDefault();
29 | require("electron").shell.openExternal(url);
30 | });
31 | win.loadURL("https://discord.com");
32 | // win.loadURL("data:text/html;charset=UTF-8," + encodeURIComponent(html), {
33 | // baseURLForDataURL: `file://${__dirname}/app`,
34 | // });
35 |
36 | const filter = {
37 | urls: [""],
38 | };
39 | const { session } = win.webContents;
40 |
41 | session.webRequest.onBeforeSendHeaders(filter, (details, callback) => {
42 | if (
43 | [
44 | "https://discord.com/api/v9/users/@me/library",
45 | "https://discord.com/api/v9/users/@me/guilds/premium/subscriptions",
46 | "https://discord.com/api/v9/science",
47 | ].includes(details.url) ||
48 | details.url.includes("https://discord.com/api/v9/users/@me/billing/trials/") ||
49 | details.url.includes("https://discord.com/api/v9/users/@me/applications/")
50 | ) {
51 | return callback({ cancel: true });
52 | }
53 | if (details.url.startsWith("https://discord.com/assets")) {
54 | details.requestHeaders["User-Agent"] =
55 | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36";
56 | } else {
57 | delete details.requestHeaders["User-Agent"];
58 | }
59 |
60 | callback({ requestHeaders: details.requestHeaders });
61 | });
62 |
63 | session.webRequest.onHeadersReceived(filter, (details, callback) => {
64 | details.responseHeaders["access-control-allow-origin"] = "*";
65 | details.responseHeaders["content-security-policy"] = "default-src * data: 'unsafe-eval' 'unsafe-inline' blob:";
66 |
67 | callback({ responseHeaders: details.responseHeaders });
68 | });
69 | }
70 |
71 | app.whenReady().then(createWindow);
72 |
73 | app.on("window-all-closed", () => {
74 | if (process.platform !== "darwin") {
75 | app.quit();
76 | }
77 | });
78 |
79 | app.on("activate", () => {
80 | if (BrowserWindow.getAllWindows().length === 0) {
81 | createWindow();
82 | }
83 | });
84 |
--------------------------------------------------------------------------------
/electron/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "discord-bot-client",
3 | "version": "3.1.0",
4 | "description": "Discord Bot Client - login into discord with a bot token",
5 | "main": "index.js",
6 | "scripts": {
7 | "start": "electron index.js",
8 | "pack": "electron-builder --dir -mwl",
9 | "dist": "electron-builder -mwl"
10 | },
11 | "keywords": [],
12 | "author": {
13 | "name": "Flam3rboy",
14 | "email": "support@botclient.tk"
15 | },
16 | "repository": {
17 | "url": "https://github.com/Flam3rboy/discord-bot-client/"
18 | },
19 | "license": "ISC",
20 | "productName": "Discord Bot Client",
21 | "appId": "com.electron.discord-bot-client",
22 | "devDependencies": {
23 | "electron": "^9.1.2",
24 | "electron-builder": "^22.8.0"
25 | },
26 | "build": {
27 | "mac": {
28 | "category": "public.app-category.social-networking",
29 | "target": [
30 | "dmg",
31 | "zip"
32 | ],
33 | "icon": "buildResources/icon.png"
34 | },
35 | "linux": {
36 | "target": [
37 | "AppImage",
38 | "deb",
39 | "rpm",
40 | "freebsd",
41 | "pacman"
42 | ],
43 | "icon": "buildResources/icon.png"
44 | },
45 | "win": {
46 | "target": [
47 | {
48 | "target": "nsis",
49 | "arch": [
50 | "x64",
51 | "ia32"
52 | ]
53 | }
54 | ],
55 | "icon": "buildResources/icon.png"
56 | }
57 | },
58 | "dependencies": {
59 | "btoa": "^1.2.1",
60 | "node-fetch": "^2.6.0"
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/extension.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension.zip
--------------------------------------------------------------------------------
/extension/images/128.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/128.jpg
--------------------------------------------------------------------------------
/extension/images/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/128.png
--------------------------------------------------------------------------------
/extension/images/16.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/16.jpg
--------------------------------------------------------------------------------
/extension/images/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/16.png
--------------------------------------------------------------------------------
/extension/images/256.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/256.jpg
--------------------------------------------------------------------------------
/extension/images/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/256.png
--------------------------------------------------------------------------------
/extension/images/32.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/32.jpg
--------------------------------------------------------------------------------
/extension/images/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/32.png
--------------------------------------------------------------------------------
/extension/images/48.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/48.jpg
--------------------------------------------------------------------------------
/extension/images/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/48.png
--------------------------------------------------------------------------------
/extension/images/96.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/96.jpg
--------------------------------------------------------------------------------
/extension/images/96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/96.png
--------------------------------------------------------------------------------
/extension/images/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/icon.png
--------------------------------------------------------------------------------
/extension/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamuelScheit/discord-bot-client/0242ac3200bcfb4808a56b20aec77625045dee7f/extension/images/logo.png
--------------------------------------------------------------------------------
/extension/images/logo.svg:
--------------------------------------------------------------------------------
1 |
28 |
29 |
30 |
31 |
32 |
35 |
38 |
62 |
70 |
765 |
766 |