DeViL_SkyNet

ckeys

Nov 24th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 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: 'ckeys',
  10. enabled: true,
  11. runIn: ['text', 'dm'],
  12. cooldown: 0,
  13. aliases: [],
  14. permLevel: 0,
  15. botPerms: ['EMBED_LINKS'],
  16. requiredSettings: [],
  17. description: 'Shows the shorcut of the menu',
  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('这个辅助的快捷键是什么?','*或者ins 可以开启/关闭辅助');
  30. embed.addField('小键盘快捷键','8或者↑可以在辅助界面往上移动');
  31. embed.addField('2或者↓可以再辅助界面往下移动');
  32. embed.addField('5或者回车 锁定选着');
  33. embed.addField('0或者ESC返回上一个界面');
  34. embed.addField('- 使用載具武器');
  35. embed.addField('7 秒刹车 要求开启7&9 supercar mode');
  36. embed.addField('9 飚车 要求开启 7&9supercar mode');
  37. embed.addField('1 打左转灯 要求开启 car indicator');
  38. embed.addField('3 打右转灯 要求开启 car indicator');
  39. embed.addField('传送快捷键','F7');
  40. embed.addField('往上升的快捷键','F8');
  41. embed.addField('如果还有更多的问题请到 #chinese-support 询问');
  42. msg.send(embed).catch(console.error);
  43. }
  44.  
  45. };
Advertisement
Add Comment
Please, Sign In to add comment