Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bot.on('message', async message => {
- if(message.content.startsWith(prefix + "تقديم")) {
- await message.channel.send(`اكتب تقديمك الان`)
- let filter = m => m.author.id === message.author.id
- var text = '';
- let sugsa = message.channel.awaitMessages(filter, { max: 1, time: 60000})
- .then(co => {
- text = co.first().content
- message.channel.send(`تم حفظ تقديمك الرجاء انتضار الرد من قبل الاداره`)
- let embed = new Discord.RichEmbed()
- bot.channels.get("467362408399110160").send(`${message.author.username}'s =>
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- ${text}
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- `)
- message.channel.sendEmbed(embed);
- })
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement