generated from Baipyrus/DiscordJS-Template
clean up: code style
This commit is contained in:
parent
fa6a9fa2e3
commit
3cea3694db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user