Compare commits

..

No commits in common. "047bdb98dacfdf1fea089a4f5bd8e1b86ce51fe8" and "7567c9b98f256e20f33c051bfca3be7d1e839e01" have entirely different histories.

3 changed files with 2 additions and 5 deletions

View File

@ -30,7 +30,7 @@ client.on("guildMemberRemove", member => {
])); ]));
}); });
client.on("messageCreate", message => { client.on("messageCreate", message => {
message.channel.id == config.announcement_channel && message.startThread({name: "Comments"}); message.channel.id == "876010629490683955" && message.startThread({name: "Comments"});
}); });
{ {

View File

@ -1,6 +1,5 @@
var client = require("./client"); var client = require("./client");
var config = require("./config"); var config = require("./config");
var Discord = require("discord.js");
var commands = module.exports = [ var commands = module.exports = [
{ {
@ -66,7 +65,6 @@ var commands = module.exports = [
]; ];
client.on("interactionCreate", interaction => { client.on("interactionCreate", interaction => {
if (interaction instanceof Discord.BaseCommandInteraction)
commands.find(x => x.name == interaction.commandName)?.exec?.(interaction); commands.find(x => x.name == interaction.commandName)?.exec?.(interaction);
}); });
client.once("ready", async () => { client.once("ready", async () => {

View File

@ -15,7 +15,6 @@ module.exports = {
archive_channel: "802280618636869663", archive_channel: "802280618636869663",
moe_channel: "871864787213111366", moe_channel: "871864787213111366",
porn_channel: "835734868427669574", porn_channel: "835734868427669574",
announcement_channel: "876010629490683955",
archive_category: "887838689533771776", archive_category: "887838689533771776",
data_dir: process.cwd() + "/data/", data_dir: process.cwd() + "/data/",
web_hostname: "ldb.owo69.me", web_hostname: "ldb.owo69.me",