Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const { Command, version: klasaVersion } = require('klasa');
- const { version: discordVersion } = require('discord.js');
- module.exports = class extends Command {
- constructor(...args) {
- super(...args, {
- name: 'cxml',
- enabled: true,
- runIn: ['text', 'dm'],
- cooldown: 0,
- aliases: [],
- permLevel: 0,
- botPerms: ['EMBED_LINKS'],
- requiredSettings: [],
- description: 'Show how to use the XML vehicles in chinese.',
- quotedStringSupport: false,
- usage: '',
- usageDelim: undefined
- });
- }
- async run(msg, ...params) {
- const embed = new this.client.methods.Embed();
- embed.setColor(Math.floor(Math.random()*16777215))
- embed.setAuthor(this.client.user.username, this.client.user.displayAvatarURL());
- embed.addField('如何使用XML載具','1 下载XML載具 https://d3sk1ng.com/index.php?threads/xml-vehicle.478/');
- embed.addField('2 把XML載具放到 %Appdata%/d3sk1ng/vehicle/xml/里面');
- embed.addField('3 回到GTA并开启菜单,Vehicle>spawner>XML');
- embed.addField('如果没看见載具','安Reload List然后就能看见了');
- embed.addField('如果还有问题请到 #chinese-support 询问');
- msg.send(embed).catch(console.error);
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment