Removing mineflayer
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user