diff --git a/.travis.yml b/.travis.yml index a6561895..8555e9f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ sudo: false language: node_js node_js: - - '9' + - '10' install: npm i -g eslint eslint-config-amber eslint-plugin-json diff --git a/README.md b/README.md index 8ea49e67..6dc3fe1f 100644 --- a/README.md +++ b/README.md @@ -334,7 +334,7 @@ served over 10,000 servers with a uniquely devoted fanbase. * **tag-info**: Responds with detailed information on a tag in this server. * **tag-remove**: Removes a tag from this server. * **tag-source**: Responds with the base markdown of a tag in this server. -* **tag**: Responds with a tag in this server. +* **tag-view**: Responds with a tag in this server. ### Role Management: diff --git a/commands/tags/tag.js b/commands/tags/view.js similarity index 82% rename from commands/tags/tag.js rename to commands/tags/view.js index af6bfb4b..7cc48d88 100644 --- a/commands/tags/tag.js +++ b/commands/tags/view.js @@ -1,12 +1,13 @@ const { Command } = require('discord.js-commando'); const Tag = require('../../models/Tag'); -module.exports = class TagCommand extends Command { +module.exports = class TagViewCommand extends Command { constructor(client) { super(client, { - name: 'tag', + name: 'tag-view', + aliases: ['tag', 'view-tag'], group: 'tags', - memberName: 'tag', + memberName: 'view', description: 'Responds with a tag in this server.', guildOnly: true, args: [ diff --git a/package.json b/package.json index dd3d21fa..224e62e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "73.2.2", + "version": "73.2.3", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {