mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-03-29 15:54:15 +00:00
Fixed Linting issues
This commit is contained in:
parent
69ebfbd5b8
commit
71f6e2a013
1 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,9 @@ export default {
|
|||
execute: async (client: Client) => {
|
||||
const config = loadConfig();
|
||||
try {
|
||||
const guild = client.guilds.cache.find((guild) => guild.id === config.guildId);
|
||||
const guild = client.guilds.cache.find(
|
||||
(guilds) => guilds.id === config.guildId,
|
||||
);
|
||||
if (!guild) {
|
||||
console.error(`Guild with ID ${config.guildId} not found.`);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue