debug/readLogs
This commit is contained in:
7 files changed
+49
-30
No files matched your search
@@ -1,8 +1,9 @@
|
||||
const { EmbedBuilder } = require('discord.js');
|
||||
const { GetGuild } = require('../database/guild');
|
||||
|
||||
module.exports = async (client, member) => {
|
||||
|
||||
let GuildDB = await client.GetGuild(member.guild.id);
|
||||
let GuildDB = await GetGuild(client, member.guild.id);
|
||||
const channel = client.GetChannel(GuildDB.welcomeChannel);
|
||||
|
||||
let embed = new EmbedBuilder()
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
const { GetGuild } = require('../database/guild');
|
||||
|
||||
module.exports = async (client, interaction) => {
|
||||
if (interaction.isCommand()) return;
|
||||
/*
|
||||
@@ -5,7 +7,7 @@ module.exports = async (client, interaction) => {
|
||||
from any command
|
||||
*/
|
||||
|
||||
let GuildDB = await client.GetGuild(interaction.guildId);
|
||||
let GuildDB = await GetGuild(client, interaction.guildId);
|
||||
const interactionName = interaction.customId.split("-")[0];
|
||||
let interactionHandler = client.interactionHandlers.get(interactionName);
|
||||
|
||||
|
||||
Reference in new issue
Block a user