#not sure what this is

1 messages · Page 1 of 1 (latest)

pure frost
crystal elbow
#

i will show you wait

#

can you join here so i can show you?

#

@pure frost

pure frost
#

no

crystal elbow
#

uhhh

#

okay ill send photos

pure frost
#

thanks

crystal elbow
#

you can see hey clearly there

#

and

#

if i didn't choose options

pure frost
#

can u embed your code in here?

crystal elbow
#
client.on('interactionCreate', async message => {
    if(message.isCommand() && message.commandName === 'title') {
      let title1 = message.options.getString('title')
      if (!title1) {
        return message.reply('Type the title you want')
      }
      if (title1.length > 26) {
        return message.reply(`only 25 letter please`)
      }
      youssef.findOne({ userId: message.user.id }, async (err, data) => {
        if (data) {
          data.title = title1
          data.save()
        } else {
          new youssef({
            userId: message.user.id,
            title: title1
          }).save()
        }
        message.reply('✅')
      })
    }
  }
  )```
#

@pure frost

pure frost
#

let title1 = message.options.getString('title') || ""?

crystal elbow
#

ty

#

how can i delete this

#

@pure frost

pure frost
#

it'll be automatically closed

crystal elbow
#

when