JohnTomah

Untitled

Mar 14th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. client.on('message', message => {
  2. if (message.content.startsWith(prefix + 'رفض')) {
  3. if (message.author.bot) return;
  4. if (!message.guild) return;
  5. let Room = message.guild.channels.find(`name`, '✽・قبول-رفض');
  6. let user = message.mentions.users.first();
  7. Room.send(`
  8. **${user.username}**
  9. » **لقد تم رفضك** :negative_squared_cross_mark: `)
  10. }
  11.  
  12. });
  13.  
  14.  
  15.  
  16.  
  17. client.on('message', message => {
  18. if (message.content.startsWith(prefix + 'قبول')) {
  19. if (message.author.bot) return;
  20. if (!message.guild) return;
  21. let Room = message.guild.channels.find(`name`, '✽・قبول-رفض');
  22. let user = message.mentions.users.first();
  23. Room.send(`
  24. **${user.username}**
  25. » **تم قبولك كإداري** :white_check_mark:`)
  26. }
  27.  
  28. });
Advertisement
Add Comment
Please, Sign In to add comment