#click button

44 messages · Page 1 of 1 (latest)

dusty fjord
#

can we click a button using djs?

idle furnaceBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by staff
polar ore
#

bots cannot trigger interactions

dusty fjord
polar ore
#

well yeah, they’re the ones who use discord lol

dusty fjord
#

like i wanna automate trigger interaction

polar ore
#

you can’t

dusty fjord
#

but i saw a github conversation about addition of this in discord.py-self

#

somethinf

polar ore
#

bots cannot trigger interactions

#

self bots are against tos

#

and this is the d.js server, not python

dusty fjord
#

i understand

#

but by keeping our acccounts on risk?

#

can we do it?

polar ore
#

self bots are against tos

scenic ruinBOT
dusty fjord
#

but if we still use it?

polar ore
#

i’m not really going to answer that

dusty fjord
#

as i saw people doing it

polar ore
#

that doesn’t make it okay

dusty fjord
#

it was really needed else i wouldn't have gone against tos

polar ore
#

what is the goal here?

dusty fjord
#

its like i have some button in a server

#

on clicking it i get a specific message on dm

#

i want the new message like every 30 minutes

#

as its like a price change thing

polar ore
#

that seems really spammy i don’t suggest this idea at all

dusty fjord
#

yeah i understand

#

but can u tell how discord buttons works on user end?

polar ore
#

you click a button, sends a trigger for the interactionCreate event with info on who pressed it, custom id, user, etc

#

i’m not sure how that’s relevant

#

bots again still cannot trigger interactions

dusty fjord
#

no this

#

the part on clicking

#

like how they send a trigger to bot

#

or how they receive that i clicked

#

the button

pallid shoal
#

Interactions are not made to automate your process. Use a webhook and a cronjob or similar.

polar ore
#

i don’t quite understand why you need to know that

dusty fjord
pallid shoal
#

You can’t as pointed out multiple times.

polar ore
#

i said this like 4 times

dusty fjord
#

Hm understood