mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
tag-view, update travis node
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
sudo: false
|
||||
language: node_js
|
||||
node_js:
|
||||
- '9'
|
||||
- '10'
|
||||
install: npm i -g eslint eslint-config-amber eslint-plugin-json
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "73.2.2",
|
||||
"version": "73.2.3",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user