Revert "Beautifying"

This reverts commit 3a3bb89635
This commit is contained in:
2023-04-24 22:02:52 +00:00
parent 6dbb92241a
commit 510f6afd23
40 changed files with 3329 additions and 3951 deletions

View File

@@ -1,27 +1,29 @@
const client = require("../../index.js");
const client = require('../../index.js');
module.exports = {
name: "Guild chat relay",
description: "Sends a message to the chat.",
type: "message",
name: 'Guild chat relay',
description: 'Sends a message to the chat.',
type: 'message',
async execute(jsonMsg) {
const gcchannel = "1092569207918575687";
async execute(jsonMsg) {
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!"
];
const gcchannel = "1092569207918575687"
if (annoyingMessages.includes(msg)) return;
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!"
]
console.log("[Chat message] " + msg);
if (annoyingMessages.includes(msg)) return;
const channel = client.guild.channels.cache.get(gcchannel);
console.log("[Chat message] " + msg);
channel.send(msg);
}
};
const channel = client.guild.channels.cache.get(gcchannel);
channel.send(msg);
}
};