remove shaChat

This commit is contained in:
Daniel Bulant 2021-05-16 11:37:00 +02:00
parent 65496b0554
commit 8cffa16ca6
2 changed files with 5 additions and 4 deletions

View file

@ -9,7 +9,7 @@ const sqlite = require('sqlite');
let configFile = require('./config.json');
const { errLog, trySend } = require('./resources/functions');
const { join } = require('path');
const { chatAnswer } = require("./resources/shaChat");
// const { chatAnswer } = require("./resources/shaChat");
require("./database/mongo");
client.registry
@ -42,7 +42,7 @@ client.on('ready', async () => {
client.on("message", async msg => {
if (msg.channel.id === "837178237322919966" && !msg.author.bot && !msg.content.toLowerCase().startsWith(client.commandPrefix+"chat")) {
chatAnswer(client, msg);
// chatAnswer(client, msg);
}
if (!msg.guild) {

View file

@ -1,7 +1,7 @@
'use strict';
const commando = require("@iceprod/discord.js-commando");
const { chatAnswer } = require("../../resources/shaChat");
// const { chatAnswer } = require("../../resources/shaChat");
module.exports = class chat extends commando.Command {
constructor(client) {
@ -13,6 +13,7 @@ module.exports = class chat extends commando.Command {
});
}
async run(msg) {
chatAnswer(this.client, msg);
return "Chat is currently unavailable.";
// chatAnswer(this.client, msg);
}
};