I'm working on a custom bot for Discord and I need some help.
I have the following code:
if(command === 'sino') {
if (msg.channel.id === '761500739842506774') {
msg.react(":thumbsup:")
msg.channel.send("", {
files: ["https://image.png"], });
}}
Code (markup):
What I want is to use the command !sino only on a specific channel.
I also have tried this but without success:
if(command === 'sino') {
msg.channel.id ===...
Code (markup):
from JavaScript https://ift.tt/34meUYq
via IFTTT
0 Comments