diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | Start Electron.bat | 4 | ||||
| -rw-r--r-- | gource.sh | 1 | ||||
| -rw-r--r-- | package.json | 5 | ||||
| -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 |
8 files changed, 4 insertions, 80 deletions
@@ -1,11 +1,9 @@ # AleeBot Welcome to the AleeBot github repo! So here's the planned features so far -1. Electron -2. Command handler +1. Command handler If you want to help do a pull request, also submit a problem/suggestion to issues. -Get gource at: https://gource.io # Contributors Here's the list of people who helped me with AleeBot diff --git a/Start Electron.bat b/Start Electron.bat deleted file mode 100644 index f9bdcf3..0000000 --- a/Start Electron.bat +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -title Starting Electron -echo Starting Electron -npm start
\ No newline at end of file diff --git a/gource.sh b/gource.sh deleted file mode 100644 index 47d1eb7..0000000 --- a/gource.sh +++ /dev/null @@ -1 +0,0 @@ -gource -f --key
\ No newline at end of file diff --git a/package.json b/package.json index 407f2d1..e18f25a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A chat bot for discord written in discord.js.", "main": "src/bot.js", "scripts": { - "start": "electron ./src/." + "test": "" }, "repository": { "type": "git", @@ -17,7 +17,6 @@ }, "homepage": "https://github.com/AleeCorp/AleeBot#readme", "dependencies": { - "discord.js": "^11.2.1", - "electron": "^1.7.9" + "discord.js": "^11.2.1" } } @@ -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> |
