Compare commits

..

No commits in common. "7f94c9ddd3dc1ada883551923064cf592bdb0916" and "6ded01b04688b1ca91a015571f4468b67e7b03cd" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const getchannel = async (member, channels) => {
// Create private channel with all permissions // Create private channel with all permissions
const name = member.user.username; 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({ const privCh = await channels.create({
name: chName, name: chName,
type: ChannelType.GuildVoice, type: ChannelType.GuildVoice,

View File

@ -1,6 +1,6 @@
{ {
"name": "discord-bot", "name": "discord-bot",
"version": "0.1.0", "version": "0.0.1",
"description": "", "description": "",
"private": true, "private": true,
"main": "index.js", "main": "index.js",