DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
discord.js send message to a given channel
const
channel
=
client
.
channels
.
cache
.
get
(
'id'
)
;
channel
.
send
(
'content'
)
;
Source by discordjs.guide #
PREVIOUS
NEXT
Tagged:
#send
#message
#channel
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit