diff options
| author | Unknown <Alee14498@gmail.com> | 2017-11-17 17:12:42 -0500 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-11-17 17:12:42 -0500 |
| commit | 301cb6a9af6acca41b5f7b9991498da30bc19dd9 (patch) | |
| tree | 4088a7ebdb3dd158f5e1212d7e48a53edb6c4b72 /src | |
| parent | 7b00dd543ba5270241605a1dcf5ff7f06d94e291 (diff) | |
| download | AleeBot-301cb6a9af6acca41b5f7b9991498da30bc19dd9.tar.gz AleeBot-301cb6a9af6acca41b5f7b9991498da30bc19dd9.tar.bz2 AleeBot-301cb6a9af6acca41b5f7b9991498da30bc19dd9.zip | |
Removed electron and changed on what AleeBot's playing
Diffstat (limited to 'src')
| -rw-r--r-- | src/bot.js | 2 | ||||
| -rw-r--r-- | src/index.js | 42 | ||||
| -rw-r--r-- | src/renderer.js | 0 | ||||
| -rw-r--r-- | src/setup.html | 26 |
4 files changed, 1 insertions, 69 deletions
@@ -17,7 +17,7 @@ client.on('ready', () => { console.log("[i] Running version " + abVersion + ` and in ${client.guilds.size} guilds`) client.user.setPresence({ game: { - name: config.prefix + 'help | ' + abVersion, + name: 'AleeBot '+ abVersion + ' | ' + config.prefix +'help', type: 0 } }); diff --git a/src/index.js b/src/index.js deleted file mode 100644 index 93856e3..0000000 --- a/src/index.js +++ /dev/null @@ -1,42 +0,0 @@ -/********************************************* - * - * AleeBot for Discord servers - * Copyright (C) 2017 AleeCorp - * License: MIT - * - **********************************************/ -const { - app, - BrowserWindow -} = require('electron'); -const path = require('path'); -const url = require('url'); - -let win; - -function createWindow() { - win = new BrowserWindow({ - width: 800, - height: 600 - }) - - win.loadURL(url.format({ - pathname: path.join(__dirname, 'setup.html'), - protocol: 'file:', - slashes: true - })); - - win.webContents.openDevTools(); - - win.on('closed', () => { - win = null; - }); -} - -app.on('ready', createWindow); - -app.on('window-all-closed', () => { - if (process.platform !== 'darwin') { - app.quit(); - } -}); diff --git a/src/renderer.js b/src/renderer.js deleted file mode 100644 index e69de29..0000000 --- a/src/renderer.js +++ /dev/null diff --git a/src/setup.html b/src/setup.html deleted file mode 100644 index 7d47b7a..0000000 --- a/src/setup.html +++ /dev/null @@ -1,26 +0,0 @@ -<!-- -********************************************** -* -* AleeBot for Discord servers -* Copyright (C) 2017 AleeCorp -* License: MIT -* -********************************************** ---> -<!DOCTYPE HTML> -<html> - -<head> -</head> - -<body> - <h1>Welcome to AleeBot!</h1> - <br> - <b>Please note that this isn't the final design for this setup</b> -</body> -<script> - const aleebot = require('bot.js') - console.log(aleebot) -</script> - -</html> |
