Advertisement
2wild4u

Untitled

May 26th, 2020
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. })
  2. bot.on('message', function(message, args){
  3. if(message.content.includes ("ticket", "open")){
  4. message.delete();
  5. var replyembed = new Discord.MessageEmbed()
  6. .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
  7. .setColor("#AA6105")
  8. .setDescription(`The command for opening a ticket is down below, these include:
  9. • New Ticket command: please enter \`>new2\` within <#676082177926234112>.
  10. • Ticket Info: please enter \`.tickethelp\`.`)
  11. .addField(`You may generate a support pin using the following link`,
  12. `**[Click here]**<#684663915606441988>`)
  13. .setTimestamp()
  14. .setFooter('Master [Code-Docs]', message.guild.iconURL())
  15. message.channel.send(replyembed);
  16. }
  17. else if(message.content.includes ("issue", "open a issue")){
  18. message.delete();
  19. var replyembed = new Discord.MessageEmbed()
  20. .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
  21. .setDescription(`The command for opening a ticket is down below, these include:
  22. • New Issue command: please enter \`.issue\` within <#713720286494720000>.`)
  23. .addField(`You may generate a support pin using the following link`,
  24. `**[Click here]**<#684663915606441988>`)
  25. .setTimestamp()
  26. .setFooter('Master [Code-Docs]', message.guild.iconURL())
  27. message.channel.send(replyembed);
  28. }
  29. else if(message.content.includes ("slowmode", "activate slowmode", "how to activate slowmode")){
  30. message.delete();
  31. var replyembed = new Discord.MessageEmbed()
  32. .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
  33. .setDescription(`The command for activating slowmode in the main or mentioned channel, these include:
  34. • Slowmode command: please enter \`.slowmode\` or \`.slowmode #channel-name\`\n\n\nHave a nice day!`)
  35. .setTimestamp()
  36. .setFooter('Master [Code-Docs]', message.guild.iconURL())
  37. message.channel.send(replyembed);
  38. }
  39. else if(message.content.includes ("role", "create role", "how to create role")){
  40. message.delete();
  41. var replyembed = new Discord.MessageEmbed()
  42. .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
  43. .setDescription(`The command for create role, these include:
  44. • role command: please enter \`.role create #hex [rolename]\`\n\n\nHave a nice day!`)
  45. .setTimestamp()
  46. .setFooter('Master [Code-Docs]', message.guild.iconURL())
  47. message.channel.send(replyembed);
  48. }
  49. else if(message.content.includes ("insta", "how to use instagram")){
  50. message.delete();
  51. var replyembed = new Discord.MessageEmbed()
  52. .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
  53. .setDescription(`The command for instagram, these include:
  54. • Instagram command: please enter \`.instagram @username\`\n\n\nHave a nice day!`)
  55. .setTimestamp()
  56. .setFooter('Master [Code-Docs]', message.guild.iconURL())
  57. message.channel.send(replyembed);
  58. }
  59. else if(message.content.includes ("Weather", "how to use Weather")){
  60. message.delete();
  61. var replyembed = new Discord.MessageEmbed()
  62. .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
  63. .setDescription(`The command for weather, these include:
  64. • Weather command: please enter \`.weather City/Country name\`\n\n\nHave a nice day!`)
  65. .setTimestamp()
  66. .setFooter('Master [Code-Docs]', message.guild.iconURL())
  67. message.channel.send(replyembed);
  68. }
  69. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement