#...
1 messages · Page 1 of 1 (latest)
.
.
? ;-;
its client.on('interactionCreate')
ok one sec ill try
okay.
Ok..
change the button to interaction and add this line of code
if (!interaction.isButton()) return;
before the if statement
and try interaction.channel.send('test');
doesn't matter
client.on('interactionCreate', async interaction =>)
ik but it will be easyer for u
cuz button is a thing so it will be confusing to do button.isButton
finally
did it work?
yep
but
?
why when i restart the bot it doesn't work