forked from ChrisChrome/weather-bot
Add some more logs
This commit is contained in:
parent
071e41136a
commit
00b0a03804
6
index.js
6
index.js
|
@ -473,6 +473,12 @@ const start = () => {
|
|||
|
||||
discord.on('ready', async () => {
|
||||
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
|
||||
const commands = [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue