Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js anonymous channel

client.on('message', (message) => {
    if(message.author.bot) return;
    if(message.channel.id == /*<channel id>*/) //check if message is in a specified channel
    { 
        message.channel.send(message.content); 
  		message.delete();
    }
});
 
PREVIOUS NEXT
Tagged: #anonymous #channel
ADD COMMENT
Topic
Name
1+2 =