added some more perm check

This commit is contained in:
loicbersier 2019-11-22 20:56:54 +01:00
parent dfbe56ae2d
commit 08319201cd
7 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ class fakejoinCommand extends Command {
aliases: ['fakejoin'], aliases: ['fakejoin'],
category: 'admin', category: 'admin',
channelRestriction: 'guild', channelRestriction: 'guild',
clientPermissions: ['SEND_MESSAGES'], clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
args: [ args: [
{ {
id: 'member', id: 'member',

View file

@ -8,7 +8,7 @@ class fakeleaveCommand extends Command {
aliases: ['fakeleave'], aliases: ['fakeleave'],
category: 'admin', category: 'admin',
channelRestriction: 'guild', channelRestriction: 'guild',
clientPermissions: ['SEND_MESSAGES'], clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
args: [ args: [
{ {
id: 'member', id: 'member',

View file

@ -8,7 +8,7 @@ class dectalkvcCommand extends Command {
super('dectalkvc', { super('dectalkvc', {
aliases: ['dectalkvc', 'decvc'], aliases: ['dectalkvc', 'decvc'],
category: 'fun', category: 'fun',
clientPermissions: ['ATTACH_FILES', 'SPEAK'], clientPermissions: ['SPEAK'],
args: [ args: [
{ {
id: 'decMessage', id: 'decMessage',

View file

@ -8,7 +8,7 @@ class samvcCommand extends Command {
super('samvc', { super('samvc', {
aliases: ['samvc'], aliases: ['samvc'],
category: 'fun', category: 'fun',
clientPermissions: ['ATTACH_FILES', 'SPEAK'], clientPermissions: ['SPEAK'],
args: [ args: [
{ {
id: 'samMessage', id: 'samMessage',

View file

@ -9,7 +9,7 @@ class TtsvcCommand extends Command {
super('ttsvc', { super('ttsvc', {
aliases: ['ttsvc'], aliases: ['ttsvc'],
category: 'fun', category: 'fun',
clientPermissions: ['ATTACH_FILES', 'SPEAK'], clientPermissions: ['SPEAK'],
args: [ args: [
{ {
id: 'text', id: 'text',

View file

@ -6,7 +6,7 @@ class SayCommand extends Command {
super('say', { super('say', {
aliases: ['say'], aliases: ['say'],
category: 'general', category: 'general',
clientPermissions: ['SEND_MESSAGES'], clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
args: [ args: [
{ {
id: 'text', id: 'text',

View file

@ -8,7 +8,7 @@ class seetagCommand extends Command {
super('taglist', { super('taglist', {
aliases: ['seetag', 'taglist', 'tags'], aliases: ['seetag', 'taglist', 'tags'],
category: 'utility', category: 'utility',
clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'], clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES'],
channelRestriction: 'guild', channelRestriction: 'guild',
args: [ args: [
{ {