Removing unneccesarry files and dep.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
module.exports = {
|
||||
name: 'limbo',
|
||||
description: 'Sends bot to limbo.',
|
||||
type: 'spawn',
|
||||
|
||||
async execute() {
|
||||
const bot = require ('../../index.js');
|
||||
|
||||
bot.chat("\u00a7")
|
||||
|
||||
}
|
||||
};
|
||||
@@ -1,29 +0,0 @@
|
||||
const client = require('../../index.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'Guild chat relay',
|
||||
description: 'Sends a message to the chat.',
|
||||
type: 'message',
|
||||
|
||||
async execute(jsonMsg) {
|
||||
|
||||
const gcchannel = "1092569207918575687"
|
||||
|
||||
const msg = jsonMsg.getText();
|
||||
const annoyingMessages = [
|
||||
"You are currently APPEARING OFFLINE",
|
||||
"REMINDER: Your Online Status is currently set to Appear Offline",
|
||||
"You have 1 unclaimed achievement reward!",
|
||||
"Click here to view it!"
|
||||
]
|
||||
|
||||
if (annoyingMessages.includes(msg)) return;
|
||||
|
||||
console.log("[Chat message] " + msg);
|
||||
|
||||
const channel = client.guild.channels.cache.get(gcchannel);
|
||||
|
||||
channel.send(msg);
|
||||
|
||||
}
|
||||
};
|
||||
@@ -1,10 +0,0 @@
|
||||
module.exports = {
|
||||
name: 'login',
|
||||
description: 'Logs the bot in.',
|
||||
type: 'login',
|
||||
|
||||
async execute() {
|
||||
const bot = require ('../../index.js');
|
||||
console.log('Logged in as ' + bot.username + '!')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user