More critical fixes, leave-vc requires MOVE_MEMBERS, memberNames

This commit is contained in:
Daniel Odendahl Jr
2018-04-24 22:17:34 +00:00
parent 6a96b979c9
commit 71ebdd95d3
15 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
module.exports = class YearsCommand extends Command {
module.exports = class ThreeThousandYearsCommand extends Command {
constructor(client) {
super(client, {
name: '3000-years',
+1 -1
View File
@@ -4,7 +4,7 @@ const snekfetch = require('snekfetch');
const path = require('path');
const { greyscale } = require('../../util/Canvas');
module.exports = class RIPCommand extends Command {
module.exports = class RipCommand extends Command {
constructor(client) {
super(client, {
name: 'rip',
@@ -6,7 +6,7 @@ module.exports = class AddPortalChannelCommand extends Command {
name: 'add-portal-channel',
aliases: ['set-portal-channel', 'portal-channel', 'open-portal'],
group: 'portal',
memberName: 'add-portal-channel',
memberName: 'add-channel',
description: 'Sets a channel to be a portal channel.',
guildOnly: true,
userPermissions: ['MANAGE_CHANNELS'],
@@ -6,7 +6,7 @@ module.exports = class FixPortalChannelsCommand extends Command {
name: 'fix-portal-channels',
aliases: ['fix-portals'],
group: 'portal',
memberName: 'fix-portal-channels',
memberName: 'fix-channels',
description: 'Removes no longer existent channels from the portal list.',
ownerOnly: true
});
@@ -6,7 +6,7 @@ module.exports = class RemovePortalChannelCommand extends Command {
name: 'remove-portal-channel',
aliases: ['delete-portal-channel', 'close-portal'],
group: 'portal',
memberName: 'remove-portal-channel',
memberName: 'remove-channel',
description: 'Remove a channel from the portal channels.',
guildOnly: true,
userPermissions: ['MANAGE_CHANNELS'],
@@ -6,7 +6,7 @@ module.exports = class PortalSendCommand extends Command {
name: 'portal-send',
aliases: ['send-portal-message', 'portal-message', 'send-portal-msg', 'portal-msg'],
group: 'portal',
memberName: 'portal-send',
memberName: 'send',
description: 'Send a message to a portal channel.',
args: [
{
@@ -5,7 +5,7 @@ module.exports = class PortalStatusCommand extends Command {
super(client, {
name: 'portal-status',
group: 'portal',
memberName: 'portal-status',
memberName: 'status',
description: 'Shows the number of currently opened portals.'
});
}
+1 -1
View File
@@ -4,7 +4,7 @@ const snekfetch = require('snekfetch');
const { shorten, base64 } = require('../../util/Util');
const { GITHUB_USERNAME, GITHUB_PASSWORD } = process.env;
module.exports = class GitHubCommand extends Command {
module.exports = class GithubCommand extends Command {
constructor(client) {
super(client, {
name: 'github',
+1 -1
View File
@@ -1,7 +1,7 @@
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class HTTPCatCommand extends Command {
module.exports = class HttpCatCommand extends Command {
constructor(client) {
super(client, {
name: 'http-cat',
+1 -1
View File
@@ -2,7 +2,7 @@ const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
module.exports = class ITunesCommand extends Command {
module.exports = class ItunesCommand extends Command {
constructor(client) {
super(client, {
name: 'itunes',
+1 -1
View File
@@ -2,7 +2,7 @@ const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { MessageEmbed } = require('discord.js');
module.exports = class NeopetItemCommand extends Command {
module.exports = class NeopetsItemCommand extends Command {
constructor(client) {
super(client, {
name: 'neopets-item',
+1 -1
View File
@@ -3,7 +3,7 @@ const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
const { GOOGLE_KEY } = process.env;
module.exports = class YouTubeCommand extends Command {
module.exports = class YoutubeCommand extends Command {
constructor(client) {
super(client, {
name: 'youtube',
+1 -1
View File
@@ -1,6 +1,6 @@
const { Command } = require('discord.js-commando');
module.exports = class ItsJokeCommand extends Command {
module.exports = class IsntJokeCommand extends Command {
constructor(client) {
super(client, {
name: 'isnt-joke',
+2 -1
View File
@@ -8,7 +8,8 @@ module.exports = class LeaveVoiceChannelCommand extends Command {
group: 'voice',
memberName: 'leave',
description: 'Leaves a voice channel, in case the bot gets stuck.',
guildOnly: true
guildOnly: true,
userPermissions: ['MOVE_MEMBERS']
});
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "73.2.1",
"version": "73.2.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {