WebNov 18, 2024 · this is actually possible in discordjs v14 and may be in v13 as well. Carl-bot does it with suggestions.but its not an actual reply use interaction.guild.channels.cache.get ('channel-id').send ('message') this will send a message in a … WebOct 28, 2024 · Send message to specific discord channel in discord.js v12. 2. Discord.js Send a message to a specific channel. 1. discord.py wait_for('reaction_add') functioning differently with direct messages. 0. discord.js send message on specific channel. 0. Forward console to channel discord.js.
node.js - Send message to specific channel with typescript
WebJul 15, 2024 · To send a message to specific channel const channel = .channels.cache.get (''); channel.send (''); To send a message to a specific user in DM const user = .users.cache.get (''); user.send (''); If you want to DM a user, please note that the bot and the user should have at least one … WebJan 20, 2024 · This bot would send an embed every time a user sent a message in any channel. You also have a typo at your client.on ("message", (_message) => { This needs to be: message.guild.channels.cache.get ('801193981115367496').send (embed); Since the ID is a string, it needs to be held in inverted commas or quotation marks. harbor cove condos orange beach
javascript - Send scheduled message - Stack Overflow
WebMar 13, 2024 · Discord.js Send message to a specific channel using a bot Ask Question Asked 3 years ago Modified 3 years ago Viewed 5k times 1 I have been trying to send message to a specific channel using the discord bot and i have tried a lot of online examples that are present online but none of them works and gives the same error … WebNov 23, 2024 · You could use the message.mentions property. So you would do the following: let announceChannel = message.mentions.channels.first (); Then to send the message do the following; message.guild.channels.find (t => t.id == announceChannel.id).send (myMessage); Share Improve this answer Follow answered … WebJun 22, 2024 · I am building a discord bot to listen to messages on a specific channel. The issue is that my code listens to all channels. Even if I use a condition to check for the channel id before picking the message, it means it will do more work than is necessary. chance meeting quotes