Removing mineflayer

This commit is contained in:
2023-04-04 00:14:12 +02:00
parent 692050c0e5
commit 9bb89eb85b
2 changed files with 11 additions and 38 deletions

View File

@@ -1,3 +1,5 @@
const client = require('../../index.js');
module.exports = {
name: 'Guild chat relay',
description: 'Sends a message to the chat.',
@@ -5,6 +7,8 @@ module.exports = {
async execute(jsonMsg) {
const gcchannel = "1092569207918575687"
const msg = jsonMsg.getText();
const annoyingMessages = [
"You are currently APPEARING OFFLINE",
@@ -17,5 +21,9 @@ module.exports = {
console.log("[Chat message] " + msg);
const channel = client.guild.channels.cache.get(gcchannel);
channel.send(msg);
}
};