generated from Baipyrus/DiscordJS-Template
Compare commits
No commits in common. "7f94c9ddd3dc1ada883551923064cf592bdb0916" and "6ded01b04688b1ca91a015571f4468b67e7b03cd" have entirely different histories.
7f94c9ddd3
...
6ded01b046
@ -14,7 +14,7 @@ const getchannel = async (member, channels) => {
|
||||
|
||||
// Create private channel with all permissions
|
||||
const name = member.user.username;
|
||||
const chName = `${name}${name.toLowerCase().endsWith('s') ? "'" : "'s"} channel`;
|
||||
const chName = `${name}${name.endsWith('s') ? "'" : "'s"} channel`;
|
||||
const privCh = await channels.create({
|
||||
name: chName,
|
||||
type: ChannelType.GuildVoice,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "discord-bot",
|
||||
"version": "0.1.0",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"private": true,
|
||||
"main": "index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user