DeViL_SkyNet

cxml

Nov 24th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. const { Command, version: klasaVersion } = require('klasa');
  2. const { version: discordVersion } = require('discord.js');
  3.  
  4.  
  5. module.exports = class extends Command {
  6.  
  7. constructor(...args) {
  8. super(...args, {
  9. name: 'cxml',
  10. enabled: true,
  11. runIn: ['text', 'dm'],
  12. cooldown: 0,
  13. aliases: [],
  14. permLevel: 0,
  15. botPerms: ['EMBED_LINKS'],
  16. requiredSettings: [],
  17. description: 'Show how to use the XML vehicles in chinese.',
  18. quotedStringSupport: false,
  19. usage: '',
  20. usageDelim: undefined
  21. });
  22. }
  23.  
  24. async run(msg, ...params) {
  25. const embed = new this.client.methods.Embed();
  26. embed.setColor(Math.floor(Math.random()*16777215))
  27. embed.setAuthor(this.client.user.username, this.client.user.displayAvatarURL());
  28.  
  29. embed.addField('如何使用XML載具','1 下载XML載具 https://d3sk1ng.com/index.php?threads/xml-vehicle.478/');
  30. embed.addField('2 把XML載具放到 %Appdata%/d3sk1ng/vehicle/xml/里面');
  31. embed.addField('3 回到GTA并开启菜单,Vehicle>spawner>XML');
  32. embed.addField('如果没看见載具','安Reload List然后就能看见了');
  33. embed.addField('如果还有问题请到 #chinese-support 询问');
  34. msg.send(embed).catch(console.error);
  35. }
  36.  
  37. };
Advertisement
Add Comment
Please, Sign In to add comment