Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- })
- bot.on('message', function(message, args){
- if(message.content.includes ("ticket", "open")){
- message.delete();
- var replyembed = new Discord.MessageEmbed()
- .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
- .setColor("#AA6105")
- .setDescription(`The command for opening a ticket is down below, these include:
- • New Ticket command: please enter \`>new2\` within <#676082177926234112>.
- • Ticket Info: please enter \`.tickethelp\`.`)
- .addField(`You may generate a support pin using the following link`,
- `**[Click here]**<#684663915606441988>`)
- .setTimestamp()
- .setFooter('Master [Code-Docs]', message.guild.iconURL())
- message.channel.send(replyembed);
- }
- else if(message.content.includes ("issue", "open a issue")){
- message.delete();
- var replyembed = new Discord.MessageEmbed()
- .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
- .setDescription(`The command for opening a ticket is down below, these include:
- • New Issue command: please enter \`.issue\` within <#713720286494720000>.`)
- .addField(`You may generate a support pin using the following link`,
- `**[Click here]**<#684663915606441988>`)
- .setTimestamp()
- .setFooter('Master [Code-Docs]', message.guild.iconURL())
- message.channel.send(replyembed);
- }
- else if(message.content.includes ("slowmode", "activate slowmode", "how to activate slowmode")){
- message.delete();
- var replyembed = new Discord.MessageEmbed()
- .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
- .setDescription(`The command for activating slowmode in the main or mentioned channel, these include:
- • Slowmode command: please enter \`.slowmode\` or \`.slowmode #channel-name\`\n\n\nHave a nice day!`)
- .setTimestamp()
- .setFooter('Master [Code-Docs]', message.guild.iconURL())
- message.channel.send(replyembed);
- }
- else if(message.content.includes ("role", "create role", "how to create role")){
- message.delete();
- var replyembed = new Discord.MessageEmbed()
- .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
- .setDescription(`The command for create role, these include:
- • role command: please enter \`.role create #hex [rolename]\`\n\n\nHave a nice day!`)
- .setTimestamp()
- .setFooter('Master [Code-Docs]', message.guild.iconURL())
- message.channel.send(replyembed);
- }
- else if(message.content.includes ("insta", "how to use instagram")){
- message.delete();
- var replyembed = new Discord.MessageEmbed()
- .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
- .setDescription(`The command for instagram, these include:
- • Instagram command: please enter \`.instagram @username\`\n\n\nHave a nice day!`)
- .setTimestamp()
- .setFooter('Master [Code-Docs]', message.guild.iconURL())
- message.channel.send(replyembed);
- }
- else if(message.content.includes ("Weather", "how to use Weather")){
- message.delete();
- var replyembed = new Discord.MessageEmbed()
- .setAuthor(`Hey ${message.author.tag}`,message.guild.iconURL())
- .setDescription(`The command for weather, these include:
- • Weather command: please enter \`.weather City/Country name\`\n\n\nHave a nice day!`)
- .setTimestamp()
- .setFooter('Master [Code-Docs]', message.guild.iconURL())
- message.channel.send(replyembed);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement