clean up: code style

This commit is contained in:
Baipyrus 2024-02-28 21:12:38 +01:00
parent fa6a9fa2e3
commit 3cea3694db

View File

@ -22,9 +22,7 @@ const getChannel = async (member, guildChs, channel) => {
owner: member.user.id
}
});
if (ownCh !== null) {
return await guildChs.fetch(ownCh.id);
}
if (ownCh !== null) return await guildChs.fetch(ownCh.id);
// Create private channel with all permissions
const name = member.user.username;