#ChannelPinsUpdate - async

9 messages · Page 1 of 1 (latest)

nimble wraith
#

Hi, what should i async so i can tag member, channel, channel ID and pinned message ID in the embed?

cold crestBOT
#
  • 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!
still plumeBOT
#

event (event) Client#channelPinsUpdate
Emitted whenever the pins of a channel are updated. Due to the nature of the WebSocket event, not much information can be provided easily here - you need to manually check the pins yourself.

mellow crypt
#

That emits with two parameters. And the second one is time, not pin or a member

#

You get the channel and the time

nimble wraith
#

Or a member that pined the msg

mellow crypt
#

You can get that from AuditLogs

nimble wraith