Compare commits

..

2 Commits

Author SHA1 Message Date
7f94c9ddd3 version upgrade: fully functioning prototype 2024-02-07 22:07:41 +01:00
b9407ed52c lowercase name for possessive apostroph 2024-02-07 22:02:02 +01:00
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
const name = member.user.username;
const chName = `${name}${name.endsWith('s') ? "'" : "'s"} channel`;
const chName = `${name}${name.toLowerCase().endsWith('s') ? "'" : "'s"} channel`;
const privCh = await channels.create({
name: chName,
type: ChannelType.GuildVoice,

View File

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