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'],
category: 'admin',
channelRestriction: 'guild',
clientPermissions: ['SEND_MESSAGES'],
clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
args: [
{
id: 'member',

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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