Compare commits
No commits in common. "047bdb98dacfdf1fea089a4f5bd8e1b86ce51fe8" and "7567c9b98f256e20f33c051bfca3be7d1e839e01" have entirely different histories.
047bdb98da
...
7567c9b98f
@ -30,7 +30,7 @@ client.on("guildMemberRemove", member => {
|
||||
]));
|
||||
});
|
||||
client.on("messageCreate", message => {
|
||||
message.channel.id == config.announcement_channel && message.startThread({name: "Comments"});
|
||||
message.channel.id == "876010629490683955" && message.startThread({name: "Comments"});
|
||||
});
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,5 @@
|
||||
var client = require("./client");
|
||||
var config = require("./config");
|
||||
var Discord = require("discord.js");
|
||||
|
||||
var commands = module.exports = [
|
||||
{
|
||||
@ -66,7 +65,6 @@ var commands = module.exports = [
|
||||
];
|
||||
|
||||
client.on("interactionCreate", interaction => {
|
||||
if (interaction instanceof Discord.BaseCommandInteraction)
|
||||
commands.find(x => x.name == interaction.commandName)?.exec?.(interaction);
|
||||
});
|
||||
client.once("ready", async () => {
|
||||
|
@ -15,7 +15,6 @@ module.exports = {
|
||||
archive_channel: "802280618636869663",
|
||||
moe_channel: "871864787213111366",
|
||||
porn_channel: "835734868427669574",
|
||||
announcement_channel: "876010629490683955",
|
||||
archive_category: "887838689533771776",
|
||||
data_dir: process.cwd() + "/data/",
|
||||
web_hostname: "ldb.owo69.me",
|
||||
|
Loading…
Reference in New Issue
Block a user