Advertisement
xoxfl

Tip - Food Bot

Jun 15th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. const Discord = require('discord.js')
  2.  
  3. module.exports.run = async (bot, message, args) => {
  4.  
  5. let appChannel = bot.channels.get("508331571770687489")
  6.  
  7. let appContent = args.join(" ");
  8.  
  9. let app = new Discord.RichEmbed()
  10. .setTitle(`Tip`)
  11. .setDescription(`Sent by ${message.author.tag}`)
  12. .addField('Review :', appContent, true)
  13.  
  14. message.author.send('You have gave your chef/delivery man a tip!')
  15.  
  16. appChannel.send(app)
  17.  
  18. }
  19.  
  20. module.exports.help = {
  21.  
  22. name: "tip"
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement