Add some more logs

This commit is contained in:
Christopher Cookman 2024-05-09 22:38:06 -06:00
parent 071e41136a
commit 00b0a03804
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -473,6 +473,12 @@ const start = () => {
discord.on('ready', async () => { discord.on('ready', async () => {
console.log(`${colors.cyan("[INFO]")} Logged in as ${discord.user.tag}`); console.log(`${colors.cyan("[INFO]")} Logged in as ${discord.user.tag}`);
// Get all guilds, and log them
discord.guilds.cache.forEach((guild) => {
console.log(`${colors.cyan("[INFO]")} In guild: ${guild.name} (${guild.id})`);
});
// Do slash command stuff // Do slash command stuff
const commands = [ const commands = [
{ {