#discord.js V14

1 messages · Page 1 of 1 (latest)

solemn silo
#

How ?

#

@timber glade

timber glade
#

no that's what your code is doing

solemn silo
#

rejester Apps

timber glade
#

show me where you're initializing your event

solemn silo
#

in ineractionCreate

timber glade
#

yes

solemn silo
timber glade
#

no like the top of the file, where client.on('interactionCreate', () => {}); or your function is

solemn silo
#

module .exports

timber glade
#
Client#on('interactionCreate', async(interaction) => {
  if(interaction.isContextMenu()) {

  }
});

it should be something like this

#

it is really looking like you should learn basic js first; check #resources

solemn silo
timber glade
solemn silo
#

it work now

plush glen
timber glade
#

maybe the formatting is just offputting my reading; idk

solemn silo
#

ok