tag-view, update travis node

This commit is contained in:
Daniel Odendahl Jr
2018-04-24 22:32:40 +00:00
parent 71ebdd95d3
commit 54bd5dd1c0
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
sudo: false
language: node_js
node_js:
- '9'
- '10'
install: npm i -g eslint eslint-config-amber eslint-plugin-json
+1 -1
View File
@@ -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:
@@ -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: [
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "73.2.2",
"version": "73.2.3",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {