aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bot.js2
-rw-r--r--src/index.js42
-rw-r--r--src/renderer.js0
-rw-r--r--src/setup.html26
4 files changed, 1 insertions, 69 deletions
diff --git a/src/bot.js b/src/bot.js
index 726f1ae..c9a2fd0 100644
--- a/src/bot.js
+++ b/src/bot.js
@@ -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>