Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. const Command = require('../Command')
  2.  
  3. module.exports =
  4. class OOFCommand extends Command {
  5. constructor (client) {
  6. super(client, {
  7. name: 'oof',
  8. properName: 'OOF',
  9. aliases: ['oof'],
  10. description: 'OOFS a user'
  11. })
  12. }
  13.  
  14. async fn (msg) {
  15. let usertooof = msg.mentions.members.first()
  16. if (!usertooof) return msg.channel.send("Can't find that user!")
  17. if (!msg.member.hasPermission("BAN_MEMBERS")) return msg.channel.send("Not Allowed to OOF!")
  18.  
  19.  
  20.  
  21. usertooof.send({embed: {
  22. "title": "LOL YOU JUST HECCED" ,
  23.  
  24.  
  25. "color": 314481,
  26. },
  27. "image": {
  28. "url": "https://vignette.wikia.nocookie.net/polandball/images/2/2c/Oof.png/revision/latest?cb=20180117061345.png"
  29. },
  30.  
  31. "fields": [
  32. {
  33.  
  34. },
  35. {
  36.  
  37. },
  38. {
  39.  
  40. },
  41. {
  42.  
  43. },
  44. {
  45.  
  46. }
  47. ]
  48. }
  49.  
  50.  
  51. )}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement