Advertisement
DeadDuality

Untitled

Mar 25th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 KB | None | 0 0
  1. let {RichEmbed} = require('discord.js')
  2.  
  3. let faqembed = new RichEmbed()
  4. .setColor('BLUE')
  5. .setTitle(`Frequently Asked Questions`)
  6. .setDescription(`Here are a list of **F**requently **A**sked **Q**uestions that have been asked by the community. If you have an idea for something to add, let us know.`)
  7. .addField(`1 ❯ What is Raw Data and Compressed Data?`, `**Raw Data** is the segments of code that list each action within their respective command or event. All Raw Data contain a unique (customizable) ID that allows it to be identified and called within other actions. To use Raw Data that has already been created, you must \`Right Click\` on a new (or existing) command or event, then click \`Edit Raw Data\` within the popup list, and paste the Raw Data you have within it.\n\n**Compressed Data** is the long string of numbers and letters where the data is compressed into a single, encrypted line when exported. Compressed Data is not supported within the Network Servers due to the security issues that could potentially arise if a user does not carefully inspect each action within it.`)
  8. .addField(`2 ❯ What does Raw Data look like?`, `Raw Data will always look the same, it will always be surrounded by \`{}\` as it is JSON, and it will always start with the json field \`"name":\`.\n\nAn example of a Command's Raw Data is as followed:\`\`\`json\n{\n "name": "",\n "permissions": "",\n "restriction": "",\n "_id": "",\n "actions": [\n ...\n ],\n "comType": ""\n}\`\`\`\nAn Event's Raw Data is slightly different:\n\`\`\`json\n{\n "name": "",\n "temp": "",\n "event-type": "",\n "_id": "",\n "actions": [\n ...\n ]\n}\`\`\``)
  9. .addField(`3 ❯ How can I publish my Raw Data, a Theme or a Modification?`, `If you would like to post something to our server, navigate to ${msg.guild.channels.find(a => a.name == 'bot-commands')} then use the command \`!post <category> <raw data>\` for Raw Data (make sure you include a link) or \`!submit\` to begin the process for submitting a Mod or Theme.\n\n*Note: Make sure you are using an approved paste site within your posts, user operated sites are not allowed unless you include an alternate link with an approved paste site.\nApproved sites are: [Pastebin](https://pastebin.com), [Github](https://github.com), [GitLab](https://gitlab.com), [DBM Raw Data Site](https://rawdata.dbm-network.com).\nSites that **are not allowed** include, but are not limited to: Ghostbin or Hastebin.`)
  10. .addField(`4 ❯ How do I install Modifications?`, `If you want to install Modifications, just follow the following steps!\n\\🔹 Download the latest modpack. [Zip Download](https://github.com/Discord-Bot-Maker-Mods/DBM-Mods/archive/beta.zip)\n\\🔹 Open the ZIP file and drag the contents to another folder.\n\\🔹 Open DBM, then click on Project => Open Actions Directory.\n\\🔹 Go one folder back, then copy the \`actions\` folder you extracted to the current directory.\n\\🔹 Overwrite any files if asked.\n\\🔹 Copy your updated actions folder to your Bot Location.\n[Video Guide](https://youtu.be/WGURSAh0b5U)\nBe sure that you check ${msg.guild.channels.find(a => a.name == 'changelog')} to keep your modifications up to date.`)
  11. msg.channel.send(faqembed)
  12.  
  13. let supportembed = new RichEmbed()
  14. .setColor('#8DADFF')
  15. .setTitle(`Support Guidelines`)
  16. .setDescription(`A list of guidelines and expectations from users when seeking support within the DBM Network.`)
  17. .addField(`1 ❯ Support is voluntary.`, `No one is paid to assist you with your issues, all users are volunteers from the community to assist you with your problems.`)
  18. .addField(`2 ❯ Research your issues.`, `We aren't here to babysit you and hold your hand while you do everything, utilize the resources you have at your disposal, like [Google](https://google.com), [Stack Overflow](https://stackoverflow.com/questions/tagged/javascript), etc.\nThere are also a wide variety of tutorials for things directly related to DBM, such things are in channels like ${msg.guild.channels.find(a => a.name == 'support')} or ${msg.guild.channels.find(a => a.name == 'theme-general')}.`)
  19. .addField(`3 ❯ We have a support site.`, `If you feel you aren't getting helped, you are more than welcome to visit our [Support Site](https://dbm-support.site) to create a ticket for your troubles. This site is also where warning and ban appeals take place.`)
  20. .addField(`4 ❯ Respect the wishes of other members.`, `There won't always be people around to help you when your time of need comes, this doesn't mean to start DMing and mentioning users, have patience. While you may prefer to interact through DMs, others may not, respect that.`)
  21. .addField(`5 ❯ Help Vampirism is taboo.`, `[Help Vampires](http://communitymgt.wikia.com/wiki/Help_Vampire) are users who only get support for what they need and offer no real benefits to the community. Don't be surprised if you are thought to he a help vampire and no one wishes to assist.`)
  22. .addField(`6 ❯ Pirates can walk the plank.`, `We have a zero tolerance piracy policy. They get no help, nothing. Any user found to be using a cracked version of DBM will be immediately banned, only allowed to return after purchasing DBM.`)
  23. .addField(`7 ❯ Deals, Scams and Hackers, Oh my!`, `Anything that happens between you and another user is none of our concern, you are expected to maintain proper security practices as well as conduct yourself to keep you safe. We won't offer any assistance or demerits if you cause yourself to get scammed. It is NOT our responsibility.`)
  24. msg.channel.send(supportembed)
  25.  
  26. let errorsembed = new RichEmbed()
  27. .setColor('RED')
  28. .setTitle('Common Errors Users Encounter')
  29. .setDescription('Here are some errors that people encounter when running DBM.')
  30. .addField(`❯ 'Action not found', what is this?`, `This means that you are missing a modification or you have accidentally removed one of the core actions. Sometimes, modifications get merged, so you can check the Raw Data to see which mod you're missing.`)
  31. .addField(`❯ Data is not valid?`, `This means that the Raw Data or Compressed Data you have attempted to paste is invalid. Please recheck to make sure that you have selected everything when copying it.`)
  32. .addField(`❯ I get a lot of 'Warnings' when I run my bot in CMD. Why?`, `If you are getting notifications saying there's a warning and a dependency you need to install, that's normal and nothing to worry about.`)
  33. msg.channel.send(errorsembed)
  34.  
  35. let sitesembed = new RichEmbed()
  36. .setColor('GREEN')
  37. .setTitle('Useful Links')
  38. .setDescription('A list of useful links that may make your life a bit easier.')
  39. .addField(`❯ Paste Services`, `[Pastebin](https://pastebin.com)\n[Github](https://github.com)\n[GitLab](https://gitlab.com)\n[DBM Raw Data Site](https://rawdata.dbm-network.com)`)
  40. .addField(`❯ Network Sites and Services`, `[Support Site](https://dbm-support.site)\n[Our Website](https://dbm-network.org)\n[Our Github](https://github.com/Discord-Bot-Maker-Mods)\n[Modifications](https://github.com/Discord-Bot-Maker-Mods/DBM-Mods)\n[Themes](https://github.com/Discord-Bot-Maker-Mods/DBM-Themes)\n[Translations](https://github.com/Discord-Bot-Maker-Mods/DBM-Translations)`)
  41. .addField(`❯ Resource Sites`, `[DiscordJS Documentation](https://discord.js.org/#/docs/main/stable)\n[DBM Documentation](https://silversunset.net/dbm)\n[Codecademy Javascript Track](http://www.codecademy.com/en/tracks/javascript)\n[Learn JS](http://www.learn-js.org/)\n[Khan Academy](https://www.khanacademy.org/computing/computer-programming/html-js-jquery#jquery-dom-access)\n[Stack Overflow](https://stackoverflow.com/questions/tagged/javascript)`)
  42. msg.channel.send(sitesembed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement