Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.on('message', message => {
- if(!message.channel.guild) return;
- var prefix = "!";
- if(message.content.startsWith(prefix + 'ch')) {
- let channel = message.channel
- var embed = new Discord.RichEmbed()
- .setTitle("معلومات الروم")
- .setColor("RANDOM")
- .setDescription(`ايدي الروم <#${channel.id}>\nChannel ID: ${channel.id}`)
- .addField("صنع في", `${channel.createdAt}`)
- .addField("نوع الروم", `${channel.type}`)
- .addField("Extra Information", `Channel is NSFW => ${channel.nsfw}\nChannel Topic=> ${channel.topic}\nChannel Parent => ${channel.parent}\nChannel Position => ${channel.position}`)
- message.channel.send({ embed: embed });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement